CppLogging 1.0.5.0
C++ Logging Library
Loading...
Searching...
No Matches
exclusive_processor.h
Go to the documentation of this file.
1
9#ifndef CPPLOGGING_PROCESSORS_EXCLUSIVE_PROCESSOR_H
10#define CPPLOGGING_PROCESSORS_EXCLUSIVE_PROCESSOR_H
11
12#include "logging/processor.h"
13
14namespace CppLogging {
15
17
25{
26public:
28
31 explicit ExclusiveProcessor(const std::shared_ptr<Layout>& layout) : Processor(layout) {}
34 virtual ~ExclusiveProcessor() = default;
35
38
39 // Implementation of Processor
40 bool ProcessRecord(Record& record) override;
41};
42
43} // namespace CppLogging
44
45#endif // CPPLOGGING_PROCESSORS_EXCLUSIVE_PROCESSOR_H
Exclusive logging processor.
ExclusiveProcessor(const ExclusiveProcessor &)=delete
ExclusiveProcessor & operator=(const ExclusiveProcessor &)=delete
bool ProcessRecord(Record &record) override
Process the given logging record through all child filters, layouts and appenders.
ExclusiveProcessor & operator=(ExclusiveProcessor &&)=delete
ExclusiveProcessor(ExclusiveProcessor &&)=delete
virtual ~ExclusiveProcessor()=default
ExclusiveProcessor(const std::shared_ptr< Layout > &layout)
Initialize exclusive logging processor with a given layout interface.
Logging processor interface.
Definition processor.h:31
std::shared_ptr< Layout > & layout() noexcept
Get the logging processor layout.
Definition processor.h:46
Logging record.
Definition record.h:37
C++ Logging project definitions.
Definition appender.h:15
Logging processor interface definition.