Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ll::io::FileSink Class Reference
Inheritance diagram for ll::io::FileSink:

Public Member Functions

LLAPI FileSink (std::filesystem::path const &path, Polymorphic< Formatter > formatter, RotatePolicy policy=RotatePolicy::disabled())
LLAPI void setFormatter (Polymorphic< Formatter > fmter) override
LLAPI void append (LogMessageView const &view) override
LLAPI void flush () override
LLAPI void setFlushLevel (LogLevel level) override
LLAPI void setPolicy (RotatePolicy policy)
LLAPI void rotate ()

Static Public Member Functions

static LLNDAPI std::shared_ptr< FileSink > const & getDefault ()

Protected Attributes

Polymorphic< Formatter > formatter

Member Function Documentation

◆ setFormatter()

LLAPI void ll::io::FileSink::setFormatter ( Polymorphic< Formatter > fmter)
overridevirtual

Implements ll::io::SinkBase.

◆ append()

LLAPI void ll::io::FileSink::append ( LogMessageView const & view)
overridevirtual

Implements ll::io::SinkBase.

◆ flush()

LLAPI void ll::io::FileSink::flush ( )
overridevirtual

Reimplemented from ll::io::SinkBase.

◆ setFlushLevel()

LLAPI void ll::io::FileSink::setFlushLevel ( LogLevel level)
overridevirtual

Reimplemented from ll::io::SinkBase.


The documentation for this class was generated from the following file: