USDA-ARS-NWRC / smrf

SMRF was designed to increase the flexibility of taking measured weather data, or atmospheric models, and distributing the data across a watershed.
Other
12 stars 4 forks source link

Improve logger #175

Closed scotthavens closed 4 years ago

scotthavens commented 4 years ago

The logging.basicConfig makes a lot of assumptions that were creating some issues in the test environment. Now uses the dictConfig to create the logger directly with much more control. Works with both streaming and file handlers.

coveralls commented 4 years ago

Pull Request Test Coverage Report for Build 331


Changes Missing Coverage Covered Lines Changed/Added Lines %
smrf/framework/logger.py 15 16 93.75%
<!-- Total: 22 23 95.65% -->
Totals Coverage Status
Change from base Build 329: -0.02%
Covered Lines: 3399
Relevant Lines: 4301

💛 - Coveralls