log#
Fully qualified name: omni::log
-
namespace log#
Multi-channel logging.
Namespace for logging functionality.
Classes#
- ILog
Multi-channel logging interface which can write logs to multiple consumers.
- ILogChannelFilter
Read-only object to encapsulate a channel filter's pattern and effects.
- ILogChannelFilter_abi
Read-only object to encapsulate a channel filter's pattern and effects.
- ILogChannelUpdateConsumer
Consumes (listens for) state change to one or more omni::log::ILog objects.
- ILogChannelUpdateConsumer_abi
Consumes (listens for) state change to one or more omni::log::ILog objects.
- ILogMessageConsumer
Consumes (listens for) log messages.
- ILogMessageConsumer2
Consumes (listens for) log messages.
- ILogMessageConsumer2_abi
Consumes (listens for) log messages.
- ILogMessageConsumer_abi
Consumes (listens for) log messages.
- ILog_abi
Multi-channel logging interface which can write logs to multiple consumers.
Enumerations#
- uint32_t ChannelUpdateReason
Reason for a channel update notification.
- int32_t Level
Severity of a message.
- uint32_t SettingBehavior
Defines if a log channel's setting should be respected or if the global logging system's settings should be used.
Functions#
- void addModulesChannels()
Registers known channels with the log returned by omniGetLogWithoutAcquire() .
- LogChannelData *& getModuleLogChannels() noexcept
Returns a per-module list of channels defined during static initialization via OMNI_LOG_ADD_CHANNEL .
- bool & hasModuleLogChannelsRegistered() noexcept
Returns a per-module boolean reference that is used to indicate whether log channels have been registered yet.
- void removeModulesChannels()
Removes channels added by omni::log::addModulesChannels() .