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

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

Méthodes publiques

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

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

Warn() public méthode

Logs the specified message on the ASP.Net trace
public Warn ( String message ) : void
message String The message.
Résultat void

Warn() public méthode

Logs the specified message on the ASP.Net trace
public Warn ( String category, String message ) : void
category String The category.
message String The message.
Résultat void

Warn() public méthode

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

Write() public méthode

Logs the specified message on the ASP.Net trace
public Write ( String message ) : void
message String The message.
Résultat void

Write() public méthode

Logs the specified message on the ASP.Net trace
public Write ( String category, String message ) : void
category String The category.
message String The message.
Résultat void

Write() public méthode

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