![]() |
LogIt++
Header-only, macro-first C++ logging library
|
Splits oversized OTLP log batches into multiple JSON payload chunks. More...
Go to the source code of this file.
Namespaces | |
| namespace | logit |
| The primary namespace for the LogIt++ library. | |
Macros | |
| #define | LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_LOGGERS_OTLP_OTLPPAYLOADSPLITTER_HPP_INCLUDED |
Functions | |
| std::vector< std::string > | logit::build_otlp_logs_json_payload_chunks (const std::vector< OtlpLogItem > &batch, const OtlpJsonFormatConfig &format, std::size_t max_payload_bytes) |
| Builds OTLP JSON payload chunks from a batch, splitting when a chunk would exceed max_payload_bytes. | |
Splits oversized OTLP log batches into multiple JSON payload chunks.
Definition in file OtlpPayloadSplitter.hpp.
| #define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_LOGGERS_OTLP_OTLPPAYLOADSPLITTER_HPP_INCLUDED |
Definition at line 3 of file OtlpPayloadSplitter.hpp.