C# Class Thinktecture.ServiceModel.Utility.Trace

Mostra file Open project: ChristianWeyer/Thinktecture.ServiceModel

Public Methods

Method Description
Error ( string traceSource, string message ) : void

Error trace of the specified message.

Information ( string traceSource, string message ) : void

Information trace of the specified message.

LogException ( string traceSource, Exception exception ) : void

Logs the specified exception.

TraceEvent ( string traceSource, System.Diagnostics type, string message ) : void

Traces the event.

Warning ( string traceSource, string message ) : void

Warning trace of the specified message.

Private Methods

Method Description
BuildExceptionTrace ( Exception exception ) : StringBuilder

Method Details

Error() public static method

Error trace of the specified message.
public static Error ( string traceSource, string message ) : void
traceSource string The trace source.
message string The message.
return void

Information() public static method

Information trace of the specified message.
public static Information ( string traceSource, string message ) : void
traceSource string The trace source.
message string The message.
return void

LogException() public static method

Logs the specified exception.
public static LogException ( string traceSource, Exception exception ) : void
traceSource string The trace source.
exception System.Exception The exception.
return void

TraceEvent() public static method

Traces the event.
public static TraceEvent ( string traceSource, System.Diagnostics type, string message ) : void
traceSource string The trace source.
type System.Diagnostics The type.
message string The message.
return void

Warning() public static method

Warning trace of the specified message.
public static Warning ( string traceSource, string message ) : void
traceSource string The trace source.
message string The message.
return void