C++ Server-Side SDK
LaunchDarkly SDK
|
#include <logging_builder.hpp>
Classes | |
class | BasicLogging |
class | CustomLogging |
class | NoLogging |
Public Types | |
using | LoggingType = std::variant< BasicLogging, CustomLogging, NoLogging > |
Public Member Functions | |
LoggingBuilder ()=default | |
LoggingBuilder (CustomLogging custom) | |
LoggingBuilder (BasicLogging basic) | |
LoggingBuilder (NoLogging no) | |
LoggingBuilder & | Logging (LoggingType logging) |
built::Logging | Build () const |
Used to configure logging for the SDK.
|
default |
Construct a logging builder.
launchdarkly::config::shared::builders::LoggingBuilder::LoggingBuilder | ( | LoggingBuilder::CustomLogging | custom | ) |
Construct a logging builder from a custom logging builder.
custom | The custom logging builder to construct a builder from. |
launchdarkly::config::shared::builders::LoggingBuilder::LoggingBuilder | ( | LoggingBuilder::BasicLogging | basic | ) |
Construct a logging builder from a basic logging builder.
basic | The basic logging builder to construct a builder from. |
launchdarkly::config::shared::builders::LoggingBuilder::LoggingBuilder | ( | LoggingBuilder::NoLogging | no | ) |
Construct a logging builder from a no logging builder.
no | The no logging builder to construct a builder from. |
built::Logging launchdarkly::config::shared::builders::LoggingBuilder::Build | ( | ) | const |
Build a logger configuration. Intended for use by the SDK implementation.
LoggingBuilder & launchdarkly::config::shared::builders::LoggingBuilder::Logging | ( | LoggingType | logging | ) |
Set the type of logging to use.
Disable logging:
Custom logging level:
logging |