Set the level of the next message for logger_system::operator<<(). More...
#include <log_level.hpp>
Public Member Functions | |
log_level (int lvl) | |
Constructor. | |
log_level (int lvl, const std::string &s) | |
Constructor. | |
int | get () const |
Get the level value. | |
std::string | get_string () const |
Get the prefix. | |
Set the level of the next message for logger_system::operator<<().
Definition at line 57 of file log_level.hpp.
claw::log_level::log_level | ( | int | lvl | ) |
claw::log_level::log_level | ( | int | lvl, |
const std::string & | s ) |
Constructor.
lvl | The value of this level. |
s | The messages prefix. |
Definition at line 54 of file log_level.cpp.
int claw::log_level::get | ( | ) | const |
Get the level value.
Definition at line 62 of file log_level.cpp.
std::string claw::log_level::get_string | ( | ) | const |
Get the prefix.
Definition at line 70 of file log_level.cpp.