tlx
|
#include <tlx/logger/core.hpp>
#include <atomic>
#include <iostream>
#include <mutex>
#include <string>
Go to the source code of this file.
Classes | |
class | DefaultLoggerOutputCOut |
default output logger to cout More... | |
class | DefaultLoggerOutputCErr |
default output logger to cerr More... | |
Namespaces | |
tlx | |
Functions | |
LoggerOutputHook * | set_logger_output_hook (LoggerOutputHook *hook) |
set new LoggerOutputHook instance to receive global log lines. More... | |
LoggerOutputHook * | set_logger_to_stderr () |
install default logger to cerr / stderr instead of stdout. More... | |
LoggerPrefixHook * | set_logger_prefix_hook (LoggerPrefixHook *hook) |
Set new LoggerPrefixHook instance to prefix global log lines. More... | |
Variables | |
static DefaultLoggerOutputCOut | s_default_logger_cout |
default logger singletons More... | |
static DefaultLoggerOutputCErr | s_default_logger_cerr |
default logger singletons More... | |
static std::atomic< LoggerOutputHook * > | s_logger_output_hook |
global logger output hook More... | |
static std::atomic< LoggerPrefixHook * > | s_logger_prefix_hook |
global logger prefix hook More... | |