131 toStr(str, category);
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_NODISCARD
Provides a mutable log entry whose lifetime is controlled by its logger.
LogEntry()=default
Initializes an entry for use by a concrete logger implementation.
virtual ~LogEntry()=default
Finalizes an entry whose lifetime is managed by its logger.
virtual std::string & message()=0
Provides mutable access to the entry message.
virtual void source(const Messaging::StrRef &value)=0
Sets the component or subsystem that produced the entry.
virtual void commit()=0
Submits the entry to the logger and releases it.
virtual void category(LogCategory::Enum value)=0
Sets the category of the entry.
virtual void info(std::string &str)=0
Appends a description of the logger implementation to a string.
virtual LogEntry * addEntry(LogSeverity::Enum severity)=0
Acquires a mutable entry for submission to the log.
virtual ~Logger() noexcept=default
Finalizes the logger.
Logger()=default
Initializes the base of a concrete logger implementation.
std::uint32_t UInt32
uInt32.
char Char
Character type alias.
std::basic_string_view< Char > StrRef
void fromStr(NifList &, const std::string &, const std::string &=std::string("; ,"))
void toStr(std::string &str, BookState::Enum bookState)
Appends a string representation of a book state.
Classifies the purpose of an individual log entry.
Messaging::UInt32 Base
Integral type used to store and serialize values of Enum.
Enum
Available log entry categories.
@ Info
Reports informational activity.
@ Warning
Reports a warning.
@ Debug
Reports diagnostic details intended for debugging.
Defines the amount of diagnostic and market data written to a log.
Messaging::UInt32 Base
Integral type used to store and serialize values of Enum.
Enum
Available logging detail levels.
@ Regular
Records normal handler activity, market data, warnings, and errors.
@ Important
Records warnings, errors, and other important information only.
@ Debug
Records detailed processing diagnostics in addition to regular data.