C# Class Castle.MonoRail.Framework.Test.MockTrace

Represents a mock implementation of ITrace for unit test purposes.
Inheritance: ITrace
Exibir arquivo Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Warn ( string message ) : void

Logs the specified message on the ASP.Net trace

Warn ( string category, string message ) : void

Logs the specified message on the ASP.Net trace

Warn ( string category, string message, Exception errorInfo ) : void

Logs the specified message on the ASP.Net trace

Write ( string message ) : void

Logs the specified message on the ASP.Net trace

Write ( string category, string message ) : void

Logs the specified message on the ASP.Net trace

Write ( string category, string message, Exception errorInfo ) : void

Logs the specified message on the ASP.Net trace

Method Details

Warn() public method

Logs the specified message on the ASP.Net trace
public Warn ( string message ) : void
message string The message.
return void

Warn() public method

Logs the specified message on the ASP.Net trace
public Warn ( string category, string message ) : void
category string The category.
message string The message.
return void

Warn() public method

Logs the specified message on the ASP.Net trace
public Warn ( string category, string message, Exception errorInfo ) : void
category string The category.
message string The message.
errorInfo System.Exception The error info.
return void

Write() public method

Logs the specified message on the ASP.Net trace
public Write ( string message ) : void
message string The message.
return void

Write() public method

Logs the specified message on the ASP.Net trace
public Write ( string category, string message ) : void
category string The category.
message string The message.
return void

Write() public method

Logs the specified message on the ASP.Net trace
public Write ( string category, string message, Exception errorInfo ) : void
category string The category.
message string The message.
errorInfo System.Exception The error info.
return void