|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
#include <FileSink.hpp>
Inheritance diagram for MayaFlux::Journal::FileSink:
Collaboration diagram for MayaFlux::Journal::FileSink:Public Member Functions | |
| FileSink (const std::string &filepath, size_t max_file_size_mb=10) | |
| ~FileSink () override | |
| void | write (const JournalEntry &entry) override |
| Write a journal entry to this sink. | |
| void | write (const RealtimeEntry &entry) override |
| Write a realtime entry to this sink. | |
| void | flush () override |
| Flush any buffered writes. | |
| bool | is_available () const override |
| Check if sink is available/healthy. | |
Public Member Functions inherited from MayaFlux::Journal::Sink | |
| virtual | ~Sink ()=default |
Private Member Functions | |
| template<typename Entry > | |
| std::string | format_entry (const Entry &entry) |
Private Attributes | |
| std::unique_ptr< IO::TextFileWriter > | writer_ |
Definition at line 8 of file FileSink.hpp.