|
ADTF File Library
|
Abstract sink for log messages produced by the adtf_file library. More...
#include <log.h>
Public Member Functions | |
| virtual void | log (std::chrono::system_clock::time_point timestamp, LogLevel log_level, std::string_view message, SourceLocation location) noexcept=0 |
| Emit a single log event. | |
Abstract sink for log messages produced by the adtf_file library.
Implementations receive every log event and are responsible for formatting and routing it (e.g. to a terminal, file, or an application-level logger).
|
pure virtualnoexcept |
Emit a single log event.
| timestamp | Wall-clock time of the event. |
| log_level | Severity of the message. |
| message | Human-readable description of the event. |
| location | Source code location that produced the message. |