[input-output-hk/cardano-sl] [CBR-274] Added test for severity. (#3023)

Messages with lower severity than the minimum acceptable specified must not be logged.
You can view, comment on, or merge this pull request online at:

https://github.com/input-output-hk/cardano-sl/pull/3023

— Commit Summary —

* [CBR-274] Added test with severity.

— File Changes —

M util/Pos/Util/Log.hs (8)
M util/Pos/Util/LoggerConfig.hs (22)
M util/test/Test/Pos/Util/LogSpec.hs (29)

— Patch Links —

https://github.com/input-output-hk/cardano-sl/pull/3023.patch
https://github.com/input-output-hk/cardano-sl/pull/3023.diff

Запись редактировалась последний раз: May 30, 2018, 11:18 pm