RAII helper for file-based logging in a class. More...
#include <EonLogger.h>
Public Member Functions | |
| FileScoped (std::string_view name, std::string_view filename, std::string_view pattern="%(message)") noexcept | |
| operator quill::Logger * () const noexcept | |
| quill::Logger * | operator-> () const noexcept |
| FileScoped & | operator= (quill::Logger *l) noexcept |
| quill::Logger * | ptr () const noexcept |
Public Attributes | |
| quill::Logger * | logger {nullptr} |
RAII helper for file-based logging in a class.
Similar to Scoped, but writes to a dedicated file. Useful for optimizer traces, detailed diagnostics, etc.
Example:
Definition at line 274 of file EonLogger.h.
|
inlinenoexcept |
Definition at line 277 of file EonLogger.h.
|
inlinenoexcept |
Definition at line 281 of file EonLogger.h.
|
inlinenoexcept |
Definition at line 283 of file EonLogger.h.
|
inlinenoexcept |
Definition at line 284 of file EonLogger.h.
|
inlinenodiscardnoexcept |
Definition at line 288 of file EonLogger.h.
| quill::Logger* eonc::log::FileScoped::logger {nullptr} |
Definition at line 275 of file EonLogger.h.