|
Triumvirate C++ API 0.5.0.post1.dev301+g026f21751
Three-point clustering measurements in large-scale structure analyses.
|
Logger with logging level differentiation. More...
#include <monitor.hpp>
Public Member Functions | |
| Logger (LogLevel level) | |
| Construct the logger with the specified threshold level. | |
| Logger (int level) | |
| Construct the logger with the specified threshold level. | |
| void | reset_level (LogLevel level) |
| Reset the logger threshold level. | |
| void | reset_level (int level) |
| Reset the logger threshold level. | |
| void | log (LogLevel level_entry, const char *fmt_string,...) |
| Log a message at the specified level. | |
| void | log (int level_entry, const char *fmt_string,...) |
| Log a message at the specified level. | |
| void | debug (const char *fmt_string,...) |
| Emit a debugging-level message. | |
| void | stat (const char *fmt_string,...) |
| Emit a status-level message. | |
| void | info (const char *fmt_string,...) |
| Emit a information-level message. | |
| void | warn (const char *fmt_string,...) |
| Emit a warning-level message. | |
| void | error (const char *fmt_string,...) |
| Emit a warning-level message. | |
Public Attributes | |
| int | level_limit |
| logger threshold level | |
Logger with logging level differentiation.
Definition at line 449 of file monitor.hpp.
| trv::sys::Logger::Logger | ( | LogLevel | level | ) |
Construct the logger with the specified threshold level.
| level | Threshold level (from enumerated options) (default is NSET). |
Definition at line 336 of file monitor.cpp.
Here is the call graph for this function:| trv::sys::Logger::Logger | ( | int | level | ) |
Construct the logger with the specified threshold level.
| level | Threshold level (as a non-negative integer) (default is 0). |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 340 of file monitor.cpp.
Here is the call graph for this function:| void trv::sys::Logger::reset_level | ( | LogLevel | level | ) |
Reset the logger threshold level.
| level | Threshold level (from enumerated options). |
Definition at line 344 of file monitor.cpp.
Here is the caller graph for this function:| void trv::sys::Logger::reset_level | ( | int | level | ) |
Reset the logger threshold level.
| level | Threshold level (as a non-negative integer). |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 348 of file monitor.cpp.
| void trv::sys::Logger::log | ( | LogLevel | level_entry, |
| const char * | fmt_string, | ||
| ... ) |
Log a message at the specified level.
If the specified level is below the threshold, no messages will be logged.
| level_entry | Message level (from enumerated options). |
| fmt_string | Log message format string. |
| ... | An arbitrary number of substitution arguments. |
Definition at line 373 of file monitor.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void trv::sys::Logger::log | ( | int | level_entry, |
| const char * | fmt_string, | ||
| ... ) |
Log a message at the specified level.
If the specified level is below the threshold, no messages will be logged.
| level_entry | Message level (as a non-negative integer). |
| fmt_string | Log message format string. |
| ... | An arbitrary number of substitution arguments. |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 377 of file monitor.cpp.
Here is the call graph for this function:| void trv::sys::Logger::debug | ( | const char * | fmt_string, |
| ... ) |
Emit a debugging-level message.
If the threshold level is higher, no messages will be emitted.
| fmt_string | Log message format string. |
| ... | An arbitrary number of substitution arguments. |
Definition at line 441 of file monitor.cpp.
Here is the call graph for this function:| void trv::sys::Logger::stat | ( | const char * | fmt_string, |
| ... ) |
Emit a status-level message.
If the threshold level is higher, no messages will be emitted.
| fmt_string | Log message format string. |
| ... | An arbitrary number of substitution arguments. |
Definition at line 454 of file monitor.cpp.
Here is the call graph for this function:| void trv::sys::Logger::info | ( | const char * | fmt_string, |
| ... ) |
Emit a information-level message.
If the threshold level is higher, no messages will be emitted.
| fmt_string | Log message format string. |
| ... | An arbitrary number of substitution arguments. |
Definition at line 467 of file monitor.cpp.
Here is the call graph for this function:| void trv::sys::Logger::warn | ( | const char * | fmt_string, |
| ... ) |
Emit a warning-level message.
If the threshold level is higher, no messages will be emitted.
| fmt_string | Log message format string. |
| ... | An arbitrary number of substitution arguments. |
Definition at line 480 of file monitor.cpp.
Here is the call graph for this function:| void trv::sys::Logger::error | ( | const char * | fmt_string, |
| ... ) |
Emit a warning-level message.
If the threshold level is higher, no messages will be emitted.
| fmt_string | Log message format string. |
| ... | An arbitrary number of substitution arguments. |
Definition at line 493 of file monitor.cpp.
Here is the call graph for this function:| int trv::sys::Logger::level_limit |
logger threshold level
Definition at line 451 of file monitor.hpp.