C# Class NUnit.Framework.Internal.Logger

Provides internal logging to the NUnit framework
Inheritance: ILogger
Afficher le fichier Open project: nunit/nunit

Méthodes publiques

Méthode 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

Méthode Description
Log ( InternalTraceLevel level, string message ) : void
WriteLog ( InternalTraceLevel level, string message ) : void

Method Details

Debug() public méthode

Logs the message at debug level.
public Debug ( string message ) : void
message string The message.
Résultat void

Error() public méthode

Logs the message at error level.
public Error ( string message ) : void
message string The message.
Résultat void

Info() public méthode

Logs the message at info level.
public Info ( string message ) : void
message string The message.
Résultat void

Logger() public méthode

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.
Résultat System

Warning() public méthode

Logs the message at warm level.
public Warning ( string message ) : void
message string The message.
Résultat void