SilentLogger#
Fully qualified name: omni::observability::SilentLogger
Defined in omni/observability/ObservabilityDebug.h
-
class SilentLogger : public omni::observability::Logger#
Simple logger implementation that will silence internal log messages on stderr coming from the
omni.observability.corelibrary.This simply provides a do-nothing handler for each log message. This can be registered by creating a new instance of this object and registering it with the core library with omni::observability::IObservabilityProvider::registerLogger().
Public Functions
-
inline void addRef()#
Adds a reference to this object.
Remark
This adds a single new reference to this object. If the reference count is greater than zero, the object is protected from being destroyed regardless of what order references are released. Each call to this must be balanced with a call to release() when this object is no longer needed.
-
inline void release()#
Releases a reference to this object and potentially destroys it.
Remark
This releases a single reference to this object. If the reference count reaches zero, the object wlil be destroyed immediately. This should only be called to balance a previous call to addRef(). It is the caller’s responsibility to ensure that all references to this object are successfully released. Failure to release all references will result in this object being leaked.
-
inline void addRef()#