fmi-faim / faim-ipa

A collection of Image Processing and Analysis (IPA) functions used at the Facility for Advanced Imaging and Microscopy (FAIM)
BSD 3-Clause "New" or "Revised" License
9 stars 6 forks source link

Make create_logger code a little more concise #169

Closed imagejan closed 3 months ago

imagejan commented 3 months ago

The default level for a handler is logging.NOTSET (which has a numeric value of 0). We only need to change the level for the logger.

tibuch commented 3 months ago

LGTM :slightly_smiling_face:

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.51%. Comparing base (caa6f39) to head (be3fcf2).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #169 +/- ## ========================================== - Coverage 91.51% 91.51% -0.01% ========================================== Files 50 50 Lines 3299 3298 -1 Branches 346 346 ========================================== - Hits 3019 3018 -1 Misses 270 270 Partials 10 10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.