WD
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
webdriver::StdOutLog Class Reference

#include <webdriver_logging.h>

Inheritance diagram for webdriver::StdOutLog:
Collaboration diagram for webdriver::StdOutLog:

Public Member Functions

 StdOutLog (LogLevel level)
 
virtual ~StdOutLog ()
 
virtual void Log (LogLevel level, const base::Time &time, const std::string &message) OVERRIDE
 
void set_min_log_level (LogLevel level)
 
- Public Member Functions inherited from webdriver::LogHandler
 LogHandler ()
 
virtual ~LogHandler ()
 

Static Public Member Functions

static void SetGlobalLog (StdOutLog *log)
 
static StdOutLogGet ()
 

Detailed Description

stdout log handler

Constructor & Destructor Documentation

webdriver::StdOutLog::StdOutLog ( LogLevel  level)

Creates a log.

virtual webdriver::StdOutLog::~StdOutLog ( )
virtual

Member Function Documentation

static StdOutLog* webdriver::StdOutLog::Get ( )
static
virtual void webdriver::StdOutLog::Log ( LogLevel  level,
const base::Time &  time,
const std::string &  message 
)
virtual

add single log item

Parameters
levellog level
timetimestamp
messagelog message

Implements webdriver::LogHandler.

void webdriver::StdOutLog::set_min_log_level ( LogLevel  level)
static void webdriver::StdOutLog::SetGlobalLog ( StdOutLog log)
static

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