Toolbox snapshot
The Reactive C++ Toolbox
|
Go to the source code of this file.
Namespaces | |
namespace | toolbox |
namespace | toolbox::sys |
Functions | |
Logger & | toolbox::sys::null_logger () noexcept |
Null logger. This logger does nothing and is effectively /dev/null. | |
Logger & | toolbox::sys::std_logger () noexcept |
Logger & | toolbox::sys::sys_logger () noexcept |
System logger. This logger calls syslog(). | |
const char * | toolbox::sys::log_label (LogLevel level) noexcept |
Return log label for given log level. | |
LogLevel | toolbox::sys::get_log_level () noexcept |
Return current log level. | |
LogLevel | toolbox::sys::set_log_level (LogLevel level) noexcept |
Set log level globally for all threads. | |
Logger & | toolbox::sys::get_logger () noexcept |
Return current logger. | |
Logger & | toolbox::sys::set_logger (Logger &logger) noexcept |
Set logger globally for all threads. | |
void | toolbox::sys::write_log (WallTime ts, LogLevel level, LogMsgPtr &&msg, std::size_t size) noexcept |