C# Class NUnit.Framework.Internal.Logger

Provides internal logging to the NUnit framework
Inheritance: ILogger
ファイルを表示 Open project: nunit/nunit

Public Methods

Method Description
Debug ( string message ) : void

Logs the message at debug level.

Error ( string message ) : void

Logs the message at error level.

Info ( string message ) : void

Logs the message at info level.

Logger ( string name, InternalTraceLevel level, TextWriter writer ) : System

Initializes a new instance of the Logger class.

Warning ( string message ) : void

Logs the message at warm level.

Private Methods

Method Description
Log ( InternalTraceLevel level, string message ) : void
WriteLog ( InternalTraceLevel level, string message ) : void

Method Details

Debug() public method

Logs the message at debug level.
public Debug ( string message ) : void
message string The message.
return void

Error() public method

Logs the message at error level.
public Error ( string message ) : void
message string The message.
return void

Info() public method

Logs the message at info level.
public Info ( string message ) : void
message string The message.
return void

Logger() public method

Initializes a new instance of the Logger class.
public Logger ( string name, InternalTraceLevel level, TextWriter writer ) : System
name string The name.
level InternalTraceLevel The log level.
writer System.IO.TextWriter The writer where logs are sent.
return System

Warning() public method

Logs the message at warm level.
public Warning ( string message ) : void
message string The message.
return void