Class Logger
Defined in File logger.h
Inheritance Relationships
Base Type
public opentelemetry::logs::Logger
(Class Logger)
Class Documentation
-
class Logger : public opentelemetry::logs::Logger
Public Functions
Initialize a new logger.
- Parameters:
name – The name of this logger instance
context – The logger provider that owns this logger.
-
const opentelemetry::nostd::string_view GetName() noexcept override
Returns the name of this logger.
-
void EmitLogRecord(nostd::unique_ptr<opentelemetry::logs::LogRecord> &&log_record) noexcept override
-
const opentelemetry::sdk::instrumentationscope::InstrumentationScope &GetInstrumentationScope() const noexcept
Returns the associated instrumentation scope
-
inline const opentelemetry::sdk::instrumentationscope::InstrumentationScope &GetInstrumentationLibrary() const noexcept