mochi-mqtt / server

The fully compliant, embeddable high-performance Go MQTT v5 server for IoT, smarthome, and pubsub
MIT License
1.29k stars 222 forks source link

Add logging level file config #396

Closed dgduncan closed 6 months ago

dgduncan commented 6 months ago

Adds the ability to configure logging level from the file based config. It does this by creating a logger with a Levelvar during file based configuration and parsing the included. If no logging options are configured, INFO is assumed.

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 8891378200

Details


Files with Coverage Reduction New Missed Lines %
server.go 2 99.19%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 8891359984: -0.03%
Covered Lines: 6122
Relevant Lines: 6200

💛 - Coveralls