LoggerConfig defines various configurable aspects of a Logger's behavior.
This class should not be used directly to configure a Logger's behavior, instead a ScopeConfigurator should be used to compute the desired LoggerConfig which can then be used to configure a Logger.
Definition at line 19 of file includes/opentelemetry/sdk/logs/logger_config.h.
Public Member Functions | |
| bool | operator== (const LoggerConfig &other) const noexcept |
| bool | IsEnabled () const noexcept |
| Returns if the Logger is enabled or disabled. More... | |
| bool | operator== (const LoggerConfig &other) const noexcept |
| bool | IsEnabled () const noexcept |
| Returns if the Logger is enabled or disabled. More... | |
Static Public Member Functions | |
| static LoggerConfig | Enabled () |
| Returns a LoggerConfig that represents an enabled Logger. More... | |
| static LoggerConfig | Disabled () |
| Returns a LoggerConfig that represents a disabled Logger. More... | |
| static LoggerConfig | Default () |
| Returns a LoggerConfig that represents a Logger configured with the default behavior. More... | |
| static LoggerConfig | Enabled () |
| Returns a LoggerConfig that represents an enabled Logger. More... | |
| static LoggerConfig | Disabled () |
| Returns a LoggerConfig that represents a disabled Logger. More... | |
| static LoggerConfig | Default () |
| Returns a LoggerConfig that represents a Logger configured with the default behavior. More... | |
|
static |
Returns a LoggerConfig that represents a Logger configured with the default behavior.
The default behavior is guided by the OpenTelemetry specification.
|
static |
Returns a LoggerConfig that represents a Logger configured with the default behavior.
The default behavior is guided by the OpenTelemetry specification.
|
static |
Returns a LoggerConfig that represents a disabled Logger.
A disabled logger behaves like a no-op logger.
|
static |
Returns a LoggerConfig that represents a disabled Logger.
A disabled logger behaves like a no-op logger.
|
static |
Returns a LoggerConfig that represents an enabled Logger.
|
static |
Returns a LoggerConfig that represents an enabled Logger.
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |