OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Static Private Member Functions | List of all members
RotatingLogSink Class Reference

#include <RotatingLogSink.h>

Inheritance diagram for RotatingLogSink:
StreamLogSink LogSink

Public Member Functions

 RotatingLogSink (std::string_view path, FileSystem *fs, int count=16)
 
virtual ~RotatingLogSink ()
 
- Public Member Functions inherited from StreamLogSink
 StreamLogSink (std::unique_ptr< OutputStream > stream)
 
 StreamLogSink (OutputStream *stream)
 
virtual ~StreamLogSink ()
 
virtual void write (const LogCategory &category, LogLevel level, std::string_view message) override
 
- Public Member Functions inherited from LogSink
virtual ~LogSink ()=default
 
virtual void write (const LogCategory &category, LogLevel level, std::string_view message)=0
 

Static Private Member Functions

static std::unique_ptr< OutputStreamopenRotatingStream (const FileSystemPath &path, FileSystem *fs, int count)
 

Additional Inherited Members

- Static Public Member Functions inherited from LogSink
static std::unique_ptr< LogSinkcreateDefaultSink ()
 

Constructor & Destructor Documentation

◆ RotatingLogSink()

RotatingLogSink::RotatingLogSink ( std::string_view  path,
FileSystem fs,
int  count = 16 
)
explicit

◆ ~RotatingLogSink()

RotatingLogSink::~RotatingLogSink ( )
virtualdefault

Member Function Documentation

◆ openRotatingStream()

std::unique_ptr< OutputStream > RotatingLogSink::openRotatingStream ( const FileSystemPath path,
FileSystem fs,
int  count 
)
staticprivate

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