|
Triumvirate C++ API 0.5.0
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 174 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 148 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 152 of file monitor.cpp.
Here is the call graph for this function:Reset the logger threshold level.
| level | Threshold level (from enumerated options). |
Definition at line 156 of file monitor.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: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 160 of file monitor.cpp.
Here is the call graph for this function: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 177 of file monitor.cpp.
Here is the call graph for this function: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 210 of file monitor.cpp.
Here is the call graph for this function: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 246 of file monitor.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: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 255 of file monitor.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: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 264 of file monitor.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: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 273 of file monitor.cpp.
Here is the call graph for this function:
Here is the caller graph for this function: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 282 of file monitor.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| int trv::sys::Logger::level_limit |
logger threshold level
Definition at line 176 of file monitor.hpp.