C# Class Castle.MonoRail.Framework.Adapters.TraceAdapter

Delegates to ASP.Net TraceContext.
Inheritance: ITrace
Mostra file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
TraceAdapter ( System.Web.TraceContext traceContext ) : System

Initializes a new instance of the TraceAdapter class.

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

TraceAdapter() public method

Initializes a new instance of the TraceAdapter class.
public TraceAdapter ( System.Web.TraceContext traceContext ) : System
traceContext System.Web.TraceContext The trace context.
return System

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