◆ add()
| hi_force_inline void hi::v1::log::add |
( |
Args &&... | args | ) |
|
|
inlinenoexcept |
Log a message.
- Template Parameters
-
| Level | log level of message, must be greater or equal to the log level of the system_status. |
| SourcePath | The source file where this function was called. |
| SourceLine | The source line where this function was called. |
| Fmt | The format string. |
- Parameters
-
| args | Arguments to std::format(). |
◆ flush()
| hi_no_inline void hi::v1::log::flush |
( |
| ) |
|
|
inlinenoexcept |
Flush all messages from the log_queue directly from this thread.
Flushing includes writing the message to a log file or displaying them on the console.
◆ start_subsystem()
Start the logger system.
Initialize the logger system if it is not already initialized and while the system is not in shutdown-mode.
- Parameters
-
| log_level | The level at which to log. |
- Returns
- true if the logger system is initialized, false when the system is being shutdown.
◆ stop_subsystem()
Stop the logger system.
De-initialize the logger system if it is initialized.
The documentation for this class was generated from the following files: