C# Class OpenQA.Selenium.Remote.Server.Logger

Provides the services required to log messages.
Afficher le fichier Open project: jimevans/strontium

Méthodes publiques

Méthode Description
Log ( string message ) : void

Writes an informational message to the log.

Log ( string message, LogLevel level ) : void

Writes a message to the log with a given logging level.

Méthodes protégées

Méthode Description
Logger ( LogLevel level ) : System

Initializes a new instance of the Logger class.

WriteMessage ( string message ) : void

Writes a message to the log.

Private Methods

Méthode Description
FormatLogMessage ( string message, LogLevel level ) : string

Method Details

Log() public méthode

Writes an informational message to the log.
public Log ( string message ) : void
message string The message to write to the log.
Résultat void

Log() public méthode

Writes a message to the log with a given logging level.
public Log ( string message, LogLevel level ) : void
message string The message to write to the log.
level LogLevel The logging level of the message.
Résultat void

Logger() protected méthode

Initializes a new instance of the Logger class.
protected Logger ( LogLevel level ) : System
level LogLevel A value specifying the level of messages to log.
Résultat System

WriteMessage() protected abstract méthode

Writes a message to the log.
protected abstract WriteMessage ( string message ) : void
message string The message to write to the log.
Résultat void