CppLogging 1.0.5.0
C++ Logging Library
Loading...
Searching...
No Matches
element.h
Go to the documentation of this file.
1
9#ifndef CPPLOGGING_ELEMENT_H
10#define CPPLOGGING_ELEMENT_H
11
12namespace CppLogging {
13
15
26{
27public:
29 virtual bool IsStarted() const noexcept { return true; }
30
32
35 virtual bool Start() { return true; }
37
40 virtual bool Stop() { return true; }
41};
42
43} // namespace CppLogging
44
45#endif // CPPLOGGING_ELEMENT_H
Logging element interface.
Definition element.h:26
virtual bool Stop()
Stop the logging element.
Definition element.h:40
virtual bool Start()
Start the logging element.
Definition element.h:35
virtual bool IsStarted() const noexcept
Is the logging element started?
Definition element.h:29
C++ Logging project definitions.
Definition appender.h:15