NREL-Sienna / InfrastructureSystems.jl

Utility package for Sienna's simulation infrastructure
https://nrel-sienna.github.io/InfrastructureSystems.jl/
BSD 3-Clause "New" or "Revised" License
38 stars 20 forks source link

Only log progress messages with ProgressLogger #266

Closed daniel-thom closed 2 years ago

daniel-thom commented 2 years ago

If the user enabled debug messages for the console or file, progress messages would also go to those loggers because the debug level is less than the progress level.

codecov[bot] commented 2 years ago

Codecov Report

Merging #266 (59a23f2) into master (d469259) will increase coverage by 4.82%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #266      +/-   ##
==========================================
+ Coverage   72.97%   77.79%   +4.82%     
==========================================
  Files          43       43              
  Lines        3574     3355     -219     
==========================================
+ Hits         2608     2610       +2     
+ Misses        966      745     -221     
Flag Coverage Δ
unittests 77.79% <100.00%> (+4.82%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/utils/logging.jl 91.48% <100.00%> (+6.06%) :arrow_up:
src/deterministic_metadata.jl 9.52% <0.00%> (+0.43%) :arrow_up:
src/single_time_series.jl 66.66% <0.00%> (+0.68%) :arrow_up:
src/serialization.jl 51.45% <0.00%> (+0.98%) :arrow_up:
src/validation.jl 12.12% <0.00%> (+1.01%) :arrow_up:
src/deterministic_single_time_series.jl 75.86% <0.00%> (+1.28%) :arrow_up:
src/forecasts.jl 88.37% <0.00%> (+2.00%) :arrow_up:
src/deterministic.jl 81.53% <0.00%> (+2.43%) :arrow_up:
src/time_series_cache.jl 94.44% <0.00%> (+2.55%) :arrow_up:
src/probabilistic.jl 77.19% <0.00%> (+2.61%) :arrow_up:
... and 23 more