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

#include <logging.h>

Public Member Functions

 LogMessage (const char *file, int line, LoggingSeverity sev, LogErrorContext err_ctx=ERRCTX_NONE, int err=0, const char *module=nullptr)
 
 LogMessage (const char *file, int line, LoggingSeverity sev, const std::string &tag)
 
 ~LogMessage ()
 
std::ostream & stream ()
 
 LogMessage (const char *file, int line, LoggingSeverity sev, LogErrorContext err_ctx=ERRCTX_NONE, int err=0, const char *module=nullptr)
 
 LogMessage (const char *file, int line, LoggingSeverity sev, const std::string &tag)
 
 ~LogMessage ()
 
std::ostream & stream ()
 

Static Public Member Functions

static bool Loggable (LoggingSeverity sev)
 
static int64_t LogStartTime ()
 
static uint32_t WallClockStartTime ()
 
static void LogThreads (bool on=true)
 
static void LogTimestamps (bool on=true)
 
static WEBRTC_DYLIB_EXPORT void LogToDebug (LoggingSeverity min_sev)
 
static LoggingSeverity GetLogToDebug ()
 
static void SetLogToStderr (bool log_to_stderr)
 
static int GetLogToStream (LogSink *stream=nullptr)
 
static void AddLogToStream (LogSink *stream, LoggingSeverity min_sev)
 
static void RemoveLogToStream (LogSink *stream)
 
static int GetMinLogSeverity ()
 
static void ConfigureLogging (const char *params)
 
static bool Loggable (LoggingSeverity sev)
 
static int64_t LogStartTime ()
 
static uint32_t WallClockStartTime ()
 
static void LogThreads (bool on=true)
 
static void LogTimestamps (bool on=true)
 
static WEBRTC_DYLIB_EXPORT void LogToDebug (LoggingSeverity min_sev)
 
static LoggingSeverity GetLogToDebug ()
 
static void SetLogToStderr (bool log_to_stderr)
 
static int GetLogToStream (LogSink *stream=nullptr)
 
static void AddLogToStream (LogSink *stream, LoggingSeverity min_sev)
 
static void RemoveLogToStream (LogSink *stream)
 
static int GetMinLogSeverity ()
 
static void ConfigureLogging (const char *params)
 

Constructor & Destructor Documentation

◆ LogMessage() [1/4]

rtc::LogMessage::LogMessage ( const char *  file,
int  line,
LoggingSeverity  sev,
LogErrorContext  err_ctx = ERRCTX_NONE,
int  err = 0,
const char *  module = nullptr 
)

◆ LogMessage() [2/4]

rtc::LogMessage::LogMessage ( const char *  file,
int  line,
LoggingSeverity  sev,
const std::string tag 
)

◆ ~LogMessage() [1/2]

rtc::LogMessage::~LogMessage ( )

◆ LogMessage() [3/4]

rtc::LogMessage::LogMessage ( const char *  file,
int  line,
LoggingSeverity  sev,
LogErrorContext  err_ctx = ERRCTX_NONE,
int  err = 0,
const char *  module = nullptr 
)

◆ LogMessage() [4/4]

rtc::LogMessage::LogMessage ( const char *  file,
int  line,
LoggingSeverity  sev,
const std::string tag 
)

◆ ~LogMessage() [2/2]

rtc::LogMessage::~LogMessage ( )

Member Function Documentation

◆ AddLogToStream() [1/2]

void rtc::LogMessage::AddLogToStream ( LogSink stream,
LoggingSeverity  min_sev 
)
static

◆ AddLogToStream() [2/2]

static void rtc::LogMessage::AddLogToStream ( LogSink stream,
LoggingSeverity  min_sev 
)
static

◆ ConfigureLogging() [1/2]

void rtc::LogMessage::ConfigureLogging ( const char *  params)
static

◆ ConfigureLogging() [2/2]

static void rtc::LogMessage::ConfigureLogging ( const char *  params)
static

◆ GetLogToDebug() [1/2]

static LoggingSeverity rtc::LogMessage::GetLogToDebug ( )
inlinestatic

◆ GetLogToDebug() [2/2]

static LoggingSeverity rtc::LogMessage::GetLogToDebug ( )
inlinestatic

◆ GetLogToStream() [1/2]

int rtc::LogMessage::GetLogToStream ( LogSink stream = nullptr)
static

◆ GetLogToStream() [2/2]

static int rtc::LogMessage::GetLogToStream ( LogSink stream = nullptr)
static

◆ GetMinLogSeverity() [1/2]

static int rtc::LogMessage::GetMinLogSeverity ( )
inlinestatic

◆ GetMinLogSeverity() [2/2]

static int rtc::LogMessage::GetMinLogSeverity ( )
inlinestatic

◆ Loggable() [1/2]

static bool rtc::LogMessage::Loggable ( LoggingSeverity  sev)
inlinestatic

◆ Loggable() [2/2]

static bool rtc::LogMessage::Loggable ( LoggingSeverity  sev)
inlinestatic

◆ LogStartTime() [1/2]

static int64_t rtc::LogMessage::LogStartTime ( )
static

◆ LogStartTime() [2/2]

int64_t rtc::LogMessage::LogStartTime ( )
static

◆ LogThreads() [1/2]

void rtc::LogMessage::LogThreads ( bool  on = true)
static

◆ LogThreads() [2/2]

static void rtc::LogMessage::LogThreads ( bool  on = true)
static

◆ LogTimestamps() [1/2]

static void rtc::LogMessage::LogTimestamps ( bool  on = true)
static

◆ LogTimestamps() [2/2]

void rtc::LogMessage::LogTimestamps ( bool  on = true)
static

◆ LogToDebug() [1/2]

static WEBRTC_DYLIB_EXPORT void rtc::LogMessage::LogToDebug ( LoggingSeverity  min_sev)
static

◆ LogToDebug() [2/2]

void rtc::LogMessage::LogToDebug ( LoggingSeverity  min_sev)
static

◆ RemoveLogToStream() [1/2]

static void rtc::LogMessage::RemoveLogToStream ( LogSink stream)
static

◆ RemoveLogToStream() [2/2]

void rtc::LogMessage::RemoveLogToStream ( LogSink stream)
static

◆ SetLogToStderr() [1/2]

void rtc::LogMessage::SetLogToStderr ( bool  log_to_stderr)
static

◆ SetLogToStderr() [2/2]

static void rtc::LogMessage::SetLogToStderr ( bool  log_to_stderr)
static

◆ stream() [1/2]

std::ostream& rtc::LogMessage::stream ( )
inline

◆ stream() [2/2]

std::ostream& rtc::LogMessage::stream ( )
inline

◆ WallClockStartTime() [1/2]

static uint32_t rtc::LogMessage::WallClockStartTime ( )
static

◆ WallClockStartTime() [2/2]

uint32_t rtc::LogMessage::WallClockStartTime ( )
static

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