Class NoopLoggerProvider

Inheritance Relationships

Base Type

Class Documentation

class NoopLoggerProvider : public opentelemetry::logs::LoggerProvider

No-op implementation of a LoggerProvider.

Public Functions

inline NoopLoggerProvider()
inline virtual nostd::shared_ptr<Logger> GetLogger(nostd::string_view, nostd::string_view, nostd::string_view, nostd::string_view, const common::KeyValueIterable&) override

Gets or creates a named Logger instance.

Optionally a version can be passed to create a named and versioned Logger instance.

Optionally a configuration file name can be passed to create a configuration for the Logger instance.