![]() |
LogIt++
Header-only, macro-first C++ logging library
|
Serialization settings for OTLP JSON payload construction. More...
#include <OtlpJsonFormatConfig.hpp>
Public Attributes | |
| std::string | service_name = "logit-app" |
service.name resource attribute. | |
| std::string | service_namespace |
Optional service.namespace resource attribute. | |
| std::string | service_instance_id |
Optional service.instance.id resource attribute. | |
| std::string | deployment_environment |
Optional deployment.environment.name resource attribute. | |
| bool | include_source = true |
| Export source file, line, and function attributes. | |
| bool | include_thread_id = true |
| Export thread id attribute. | |
| bool | include_format = true |
Export original format string as logit.format. | |
| bool | include_arg_names = false |
Export original argument names as logit.arg_names (legacy). | |
| bool | include_args = true |
| Export structured typed arg attributes. | |
| std::string | args_prefix = "logit.arg." |
| Key prefix for structured arg attributes. | |
Serialization settings for OTLP JSON payload construction.
Definition at line 14 of file OtlpJsonFormatConfig.hpp.
| std::string logit::OtlpJsonFormatConfig::args_prefix = "logit.arg." |
Key prefix for structured arg attributes.
Definition at line 24 of file OtlpJsonFormatConfig.hpp.
| std::string logit::OtlpJsonFormatConfig::deployment_environment |
Optional deployment.environment.name resource attribute.
Definition at line 18 of file OtlpJsonFormatConfig.hpp.
| bool logit::OtlpJsonFormatConfig::include_arg_names = false |
Export original argument names as logit.arg_names (legacy).
Definition at line 22 of file OtlpJsonFormatConfig.hpp.
| bool logit::OtlpJsonFormatConfig::include_args = true |
Export structured typed arg attributes.
Definition at line 23 of file OtlpJsonFormatConfig.hpp.
| bool logit::OtlpJsonFormatConfig::include_format = true |
Export original format string as logit.format.
Definition at line 21 of file OtlpJsonFormatConfig.hpp.
| bool logit::OtlpJsonFormatConfig::include_source = true |
Export source file, line, and function attributes.
Definition at line 19 of file OtlpJsonFormatConfig.hpp.
| bool logit::OtlpJsonFormatConfig::include_thread_id = true |
Export thread id attribute.
Definition at line 20 of file OtlpJsonFormatConfig.hpp.
| std::string logit::OtlpJsonFormatConfig::service_instance_id |
Optional service.instance.id resource attribute.
Definition at line 17 of file OtlpJsonFormatConfig.hpp.
| std::string logit::OtlpJsonFormatConfig::service_name = "logit-app" |
service.name resource attribute.
Definition at line 15 of file OtlpJsonFormatConfig.hpp.
| std::string logit::OtlpJsonFormatConfig::service_namespace |
Optional service.namespace resource attribute.
Definition at line 16 of file OtlpJsonFormatConfig.hpp.