tlx
|
#include <sstream>
#include <string>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | LoggerFormatter< AnyType, Enable > |
template class for formatting. contains a print() method. More... | |
class | Logger |
LOG and sLOG for development and debugging. More... | |
class | SpacingLogger |
A logging class which outputs spaces between elements pushed via operator<<. More... | |
class | LoggerVoidify |
class | LoggerPrefixHook |
Abstract class to implement prefix output hooks for logging. More... | |
class | LoggerOutputHook |
Abstract class to implement output hooks for logging. More... | |
class | LoggerCollectOutput |
Class to hook logger output in the local thread. More... | |
class | LoggerFormatter< AnyType > |
class | LoggerFormatter< std::pair< A, B > > |
class | LoggerFormatter< std::vector< T, A > > |
Namespaces | |
tlx | |
Macros | |
#define | TLX_LOGC(cond) |
Explicitly specify the condition for logging. More... | |
#define | TLX_LOG |
Default logging method: output if the local debug variable is true. More... | |
#define | TLX_LOG0 |
Override default output: never or always output log. More... | |
#define | TLX_LOG1 |
#define | TLX_sLOGC(cond) |
Explicitly specify the condition for logging. More... | |
#define | TLX_sLOG |
Default logging method: output if the local debug variable is true. More... | |
#define | TLX_sLOG0 |
Override default output: never or always output log. More... | |
#define | TLX_sLOG1 |
Functions | |
LoggerPrefixHook * | set_logger_prefix_hook (LoggerPrefixHook *hook) |
Set new LoggerPrefixHook instance to prefix global log lines. More... | |
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... | |
#define TLX_LOG |
#define TLX_LOG0 |
#define TLX_LOGC | ( | cond | ) |
#define TLX_sLOG |
#define TLX_sLOG0 |