The simple log processor passes all log records in a batch of 1 to the configured LogRecordExporter.
All calls to the configured LogRecordExporter are synchronized using a spin-lock on an atomic_flag.
Definition at line 29 of file includes/opentelemetry/sdk/logs/simple_log_record_processor.h.
◆ SimpleLogRecordProcessor() [1/2]
| sdk::logs::SimpleLogRecordProcessor::SimpleLogRecordProcessor |
( |
std::unique_ptr< LogRecordExporter > && |
exporter | ) |
|
|
explicit |
◆ ~SimpleLogRecordProcessor() [1/2]
| sdk::logs::SimpleLogRecordProcessor::~SimpleLogRecordProcessor |
( |
| ) |
|
|
override |
◆ SimpleLogRecordProcessor() [2/2]
| sdk::logs::SimpleLogRecordProcessor::SimpleLogRecordProcessor |
( |
std::unique_ptr< LogRecordExporter > && |
exporter | ) |
|
|
explicit |
◆ ~SimpleLogRecordProcessor() [2/2]
| sdk::logs::SimpleLogRecordProcessor::~SimpleLogRecordProcessor |
( |
| ) |
|
|
override |
◆ ForceFlush() [1/2]
◆ ForceFlush() [2/2]
◆ IsShutdown() [1/2]
| bool sdk::logs::SimpleLogRecordProcessor::IsShutdown |
( |
| ) |
const |
|
noexcept |
◆ IsShutdown() [2/2]
| bool sdk::logs::SimpleLogRecordProcessor::IsShutdown |
( |
| ) |
const |
|
noexcept |
◆ MakeRecordable() [1/2]
| std::unique_ptr<Recordable> sdk::logs::SimpleLogRecordProcessor::MakeRecordable |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ MakeRecordable() [2/2]
| std::unique_ptr<Recordable> sdk::logs::SimpleLogRecordProcessor::MakeRecordable |
( |
| ) |
|
|
overridevirtualnoexcept |
◆ OnEmit() [1/2]
| void sdk::logs::SimpleLogRecordProcessor::OnEmit |
( |
std::unique_ptr< Recordable > && |
record | ) |
|
|
overridevirtualnoexcept |
◆ OnEmit() [2/2]
| void sdk::logs::SimpleLogRecordProcessor::OnEmit |
( |
std::unique_ptr< Recordable > && |
record | ) |
|
|
overridevirtualnoexcept |
◆ Shutdown() [1/2]
◆ Shutdown() [2/2]
The documentation for this class was generated from the following file: