LDMX Software
|
Our filter implementation aligning with Boost.Log. More...
Public Member Functions | |
Filter (level fallback, std::unordered_map< std::string, level > custom) | |
Filter (level fallback) | |
bool | operator() (log::attribute_value_set const &attrs) |
Private Attributes | |
level | fallback_level_ |
std::unordered_map< std::string, level > | custom_levels_ |
Our filter implementation aligning with Boost.Log.
We store a default "fallback" level that is applied to all channels that do not exist within the custom mapping. If a channel does exist within the custom mapping, that value is used instead of the default value.
Definition at line 56 of file Logger.cxx.
|
inline |
Definition at line 61 of file Logger.cxx.
|
inline |
Definition at line 63 of file Logger.cxx.
|
inline |
Definition at line 64 of file Logger.cxx.
|
private |
Definition at line 58 of file Logger.cxx.
|
private |
Definition at line 57 of file Logger.cxx.