Belle II Software development
|
Helper struct to hash and compare messages only by log level and message content. More...
#include <LogMessage.h>
Public Member Functions | |
std::size_t | operator() (const LogMessage &msg) const |
Return a hash for the given log message just based on the log level and the message. | |
bool | operator() (const LogMessage &lhs, const LogMessage &rhs) const |
Check if log level and message text are identical. | |
Helper struct to hash and compare messages only by log level and message content.
This explicitly ignores other information like log variables and module/package/file/line information to just combine messages which will look similar to the user.
Definition at line 143 of file LogMessage.h.
|
inline |
Check if log level and message text are identical.
Definition at line 150 of file LogMessage.h.
|
inline |
Return a hash for the given log message just based on the log level and the message.
Definition at line 145 of file LogMessage.h.