webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | List of all members
rtc::FileRotatingLogSink Class Reference

#include <logsinks.h>

Inheritance diagram for rtc::FileRotatingLogSink:
rtc::LogSink rtc::LogSink rtc::CallSessionFileRotatingLogSink rtc::CallSessionFileRotatingLogSink

Public Member Functions

 FileRotatingLogSink (const std::string &log_dir_path, const std::string &log_prefix, size_t max_log_size, size_t num_log_files)
 
 ~FileRotatingLogSink () override
 
void OnLogMessage (const std::string &message) override
 
virtual bool Init ()
 
bool DisableBuffering ()
 
 FileRotatingLogSink (const std::string &log_dir_path, const std::string &log_prefix, size_t max_log_size, size_t num_log_files)
 
 ~FileRotatingLogSink () override
 
void OnLogMessage (const std::string &message) override
 
virtual bool Init ()
 
bool DisableBuffering ()
 
- Public Member Functions inherited from rtc::LogSink
 LogSink ()
 
virtual ~LogSink ()
 
 LogSink ()
 
virtual ~LogSink ()
 

Protected Member Functions

 FileRotatingLogSink (FileRotatingStream *stream)
 
 FileRotatingLogSink (FileRotatingStream *stream)
 

Constructor & Destructor Documentation

◆ FileRotatingLogSink() [1/4]

rtc::FileRotatingLogSink::FileRotatingLogSink ( const std::string log_dir_path,
const std::string log_prefix,
size_t  max_log_size,
size_t  num_log_files 
)

◆ ~FileRotatingLogSink() [1/2]

rtc::FileRotatingLogSink::~FileRotatingLogSink ( )
override

◆ FileRotatingLogSink() [2/4]

rtc::FileRotatingLogSink::FileRotatingLogSink ( FileRotatingStream stream)
explicitprotected

◆ FileRotatingLogSink() [3/4]

rtc::FileRotatingLogSink::FileRotatingLogSink ( const std::string log_dir_path,
const std::string log_prefix,
size_t  max_log_size,
size_t  num_log_files 
)

◆ ~FileRotatingLogSink() [2/2]

rtc::FileRotatingLogSink::~FileRotatingLogSink ( )
override

◆ FileRotatingLogSink() [4/4]

rtc::FileRotatingLogSink::FileRotatingLogSink ( FileRotatingStream stream)
explicitprotected

Member Function Documentation

◆ DisableBuffering() [1/2]

bool rtc::FileRotatingLogSink::DisableBuffering ( )

◆ DisableBuffering() [2/2]

bool rtc::FileRotatingLogSink::DisableBuffering ( )

◆ Init() [1/2]

virtual bool rtc::FileRotatingLogSink::Init ( )
virtual

◆ Init() [2/2]

bool rtc::FileRotatingLogSink::Init ( )
virtual

◆ OnLogMessage() [1/2]

void rtc::FileRotatingLogSink::OnLogMessage ( const std::string message)
overridevirtual

Implements rtc::LogSink.

◆ OnLogMessage() [2/2]

void rtc::FileRotatingLogSink::OnLogMessage ( const std::string message)
overridevirtual

Implements rtc::LogSink.


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