Namespaces | |
| namespace | detail |
Classes | |
| struct | Scoped |
| RAII helper for class-scoped logging. More... | |
| struct | FileScoped |
| RAII helper for file-based logging in a class. More... | |
Functions | |
| quill::Logger * | get () noexcept |
| Get or create the default "combi" logger. | |
| quill::Logger * | traceback () noexcept |
| Get or create the "_traceback" logger for traceback logging. | |
| quill::Logger * | get_file (std::string_view name, std::string_view filename, std::string_view pattern="%(message)") |
| Get or create a named logger with a file sink. | |
|
inlinenodiscardnoexcept |
Get or create the default "combi" logger.
This is the primary logger used throughout eOn. Returns a raw pointer (quill's API) that is valid for the lifetime of the program.
Usage: auto* log = eonc::log::get(); QUILL_LOG_INFO(log, "message");
Definition at line 44 of file EonLogger.h.
|
inlinenodiscard |
Get or create a named logger with a file sink.
Creates a logger that writes to the specified file with the given pattern. If the logger already exists, returns the existing instance.
| name | Logger name (must be unique) |
| filename | Output file path |
| pattern | Quill format pattern (default: "%(message)") |
Definition at line 111 of file EonLogger.h.
|
inlinenodiscardnoexcept |
Get or create the "_traceback" logger for traceback logging.
This logger is used for detailed traceback and debugging information. Returns a raw pointer (quill's API) valid for the lifetime of the program.
Usage: auto* log = eonc::log::traceback(); QUILL_LOG_INFO(log, "traceback message");
Definition at line 88 of file EonLogger.h.