|
FinanceSim 0.1.0
Financial Simulation Library
|
Interface for log output writers. More...
#include <log_writer.hpp>
Public Member Functions | |
| virtual | ~LogWriter ()=default |
| virtual void | write (const Event &event, LogLevel level)=0 |
| Write an event to the output. | |
| virtual void | flush ()=0 |
| Flush any buffered output. | |
| virtual void | close ()=0 |
| Close the writer and release resources. | |
Protected Member Functions | |
| LogWriter ()=default | |
Interface for log output writers.
Definition at line 12 of file log_writer.hpp.
|
virtualdefault |
|
protecteddefault |
|
pure virtual |
Close the writer and release resources.
Implemented in financesim::ConsoleWriter, and financesim::JsonWriter.
Referenced by PYBIND11_MODULE().
|
pure virtual |
Flush any buffered output.
Implemented in financesim::ConsoleWriter, and financesim::JsonWriter.
Referenced by PYBIND11_MODULE().
Write an event to the output.
Implemented in financesim::ConsoleWriter, and financesim::JsonWriter.