Intel® Collaboration Suite for WebRTC  version 4.3.1
Open WebRTC Toolkit (OWT) Client SDK for Windows*
owt::base::Logging Class Referencefinal

#include <owt/base/logging.h>

Static Public Member Functions

static void Severity (LoggingSeverity severity)
 
static LoggingSeverity Severity ()
 Get current logging severity.
 
static void LogToConsole (LoggingSeverity severity)
 Set logging to console.
 
static void LogToFileRotate (LoggingSeverity severity, std::string &dir, size_t max_log_size)
 Set logging to files under provided dir rotately.
 

Detailed Description

Logger configuration class. Choose either LogToConsole or LogToFileRotate in your application for logging to console or file.

Member Function Documentation

◆ Severity()

static void owt::base::Logging::Severity ( LoggingSeverity  severity)
static

Set logging severity. All logging messages with higher severity will be logged.