C# Class OpenQA.Selenium.Remote.Server.Loggers.NullLogger

A logger object that ignores all messages. This should only be used for testing purposes.
Inheritance: System.Logger
显示文件 Open project: jimevans/strontium

Public Methods

Method Description
NullLogger ( LogLevel level ) : System

Initializes a new instance of the NullLogger class.

Protected Methods

Method Description
WriteMessage ( string message ) : void

Writes a message to the log.

Method Details

NullLogger() public method

Initializes a new instance of the NullLogger class.
public NullLogger ( LogLevel level ) : System
level LogLevel A value specifying the level of messages to log.
return System

WriteMessage() protected method

Writes a message to the log.
protected WriteMessage ( string message ) : void
message string The message to write to the log.
return void