Go to the source code of this file.
Data Structures | |
| class | sdk::common::internal_log::LogHandler |
| class | sdk::common::internal_log::DefaultLogHandler |
| class | sdk::common::internal_log::NoopLogHandler |
| class | sdk::common::internal_log::GlobalLogHandler |
| Stores the singleton global LogHandler. More... | |
Namespaces | |
| sdk | |
| sdk::common | |
| sdk::common::internal_log | |
Enumerations | |
| enum | sdk::common::internal_log::LogLevel { sdk::common::internal_log::LogLevel::None = OTEL_INTERNAL_LOG_LEVEL_NONE, sdk::common::internal_log::LogLevel::Error = OTEL_INTERNAL_LOG_LEVEL_ERROR, sdk::common::internal_log::LogLevel::Warning = OTEL_INTERNAL_LOG_LEVEL_WARN, sdk::common::internal_log::LogLevel::Info = OTEL_INTERNAL_LOG_LEVEL_INFO, sdk::common::internal_log::LogLevel::Debug = OTEL_INTERNAL_LOG_LEVEL_DEBUG, sdk::common::internal_log::LogLevel::None = OTEL_INTERNAL_LOG_LEVEL_NONE, sdk::common::internal_log::LogLevel::Error = OTEL_INTERNAL_LOG_LEVEL_ERROR, sdk::common::internal_log::LogLevel::Warning = OTEL_INTERNAL_LOG_LEVEL_WARN, sdk::common::internal_log::LogLevel::Info = OTEL_INTERNAL_LOG_LEVEL_INFO, sdk::common::internal_log::LogLevel::Debug = OTEL_INTERNAL_LOG_LEVEL_DEBUG } |
Functions | |
| std::string | sdk::common::internal_log::LevelToString (LogLevel level) |
| #define OTEL_INTERNAL_LOG_DEBUG | ( | ... | ) | OTEL_INTERNAL_LOG_DEBUG_MACRO(__VA_ARGS__)(__VA_ARGS__) |
Definition at line 201 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_DEBUG_1_ARGS | ( | message | ) |
Definition at line 192 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_DEBUG_2_ARGS | ( | message, | |
| attributes | |||
| ) |
Definition at line 195 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_DEBUG_MACRO | ( | ... | ) |
Definition at line 198 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_DISPATCH | ( | level, | |
| message, | |||
| attributes | |||
| ) |
GlobalLogHandler and TracerProvider/MeterProvider/LoggerProvider are lazy singletons.
To ensure that GlobalLogHandler is the first one to be initialized (and so last to be destroyed), it is first used inside the constructors of TraceProvider, MeterProvider and LoggerProvider for debug logging.
Definition at line 140 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_ERROR | ( | ... | ) | OTEL_INTERNAL_LOG_ERROR_MACRO(__VA_ARGS__)(__VA_ARGS__) |
Definition at line 171 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_ERROR_1_ARGS | ( | message | ) |
Definition at line 162 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_ERROR_2_ARGS | ( | message, | |
| attributes | |||
| ) |
Definition at line 165 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_ERROR_MACRO | ( | ... | ) |
Definition at line 168 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_GET_3RD_ARG | ( | arg1, | |
| arg2, | |||
| arg3, | |||
| ... | |||
| ) | arg3 |
Definition at line 159 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_INFO | ( | ... | ) | OTEL_INTERNAL_LOG_INFO_MACRO(__VA_ARGS__)(__VA_ARGS__) |
Definition at line 216 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_INFO_1_ARGS | ( | message | ) |
Definition at line 207 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_INFO_2_ARGS | ( | message, | |
| attributes | |||
| ) |
Definition at line 210 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_INFO_MACRO | ( | ... | ) |
Definition at line 213 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_LEVEL OTEL_INTERNAL_LOG_LEVEL_DEBUG |
Definition at line 20 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_LEVEL_DEBUG 4 |
Definition at line 17 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_LEVEL_ERROR 1 |
Definition at line 14 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_LEVEL_INFO 3 |
Definition at line 16 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_LEVEL_NONE 0 |
Definition at line 13 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_LEVEL_WARN 2 |
Definition at line 15 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_WARN | ( | ... | ) | OTEL_INTERNAL_LOG_WARN_MACRO(__VA_ARGS__)(__VA_ARGS__) |
Definition at line 186 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_WARN_1_ARGS | ( | message | ) |
Definition at line 177 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_WARN_2_ARGS | ( | message, | |
| attributes | |||
| ) |
Definition at line 180 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.
| #define OTEL_INTERNAL_LOG_WARN_MACRO | ( | ... | ) |
Definition at line 183 of file 9.2/includes/opentelemetry/sdk/common/global_log_handler.h.