|
JANA2
C++ framework for multi-threaded data processing
|
Public Types | |
| enum class | Level { TRACE , DEBUG , INFO , WARN , ERROR , FATAL , OFF } |
Public Member Functions | |
| JLogger (JLogger::Level level=JLogger::Level::INFO, std::ostream *destination=&std::cout, std::string group="") | |
| JLogger (const JLogger &)=default | |
| JLogger & | operator= (const JLogger &)=default |
| void | SetGroup (std::string group) |
| void | ShowGroup (bool show) |
| void | ShowLevel (bool show) |
| void | ShowTimestamp (bool show) |
| void | ShowThreadstamp (bool show) |
Public Attributes | |
| Level | level |
| std::ostream * | destination |
| std::string | group |
| bool | show_level = true |
| bool | show_group = false |
| bool | show_timestamp = true |
| bool | show_threadstamp = false |
Static Public Attributes | |
| static thread_local int | thread_id = -1 |
| static std::atomic_int | next_thread_id = 0 |