Sese Framework
2.3.0
A cross-platform framework
|
Log file appender class. More...
#include <FileAppender.h>
Public Types | |
typedef std::shared_ptr< FileAppender > | Ptr |
Public Types inherited from sese::record::AbstractAppender | |
typedef std::shared_ptr< AbstractAppender > | Ptr |
Public Member Functions | |
FileAppender (io::FileStream::Ptr file_stream, Level level=Level::DEBUG) | |
~FileAppender () noexcept override | |
void | dump (const char *buffer, size_t size) noexcept override |
Public Member Functions inherited from sese::record::AbstractAppender | |
AbstractAppender () noexcept=default | |
virtual | ~AbstractAppender () noexcept=default |
AbstractAppender (Level level) noexcept | |
Level | getLevel () const noexcept |
void | setLevel (Level lv) noexcept |
Private Attributes | |
io::BufferedStream::Ptr | bufferedStream |
io::FileStream::Ptr | fileStream |
Additional Inherited Members | |
Protected Attributes inherited from sese::record::AbstractAppender | |
Level | level = Level::DEBUG |
Output threshold. | |
Log file appender class.
typedef std::shared_ptr<FileAppender> sese::record::FileAppender::Ptr |
|
explicit |
References bufferedStream, and fileStream.
|
overridenoexcept |
|
overridevirtualnoexcept |
Implements sese::record::AbstractAppender.
|
private |
Referenced by FileAppender().
|
private |
Referenced by FileAppender().