C# Class ThoughtWorksCoreLib.TraceLog

Maintains a log of application activity.
ファイルを表示 Open project: ThoughtWorksStudios/mingle.net

Private Properties

Property Type Description

Public Methods

Method Description
Exception ( string methodName, Exception e ) : void

Logs details about an exception.

Recurses through a stack of InnerExceptions if needed.

Initialize ( string appName ) : string

Initializes a new log

WriteLine ( string methodName, string message ) : void

Works like Trace.WriteLine but also flushes cache

Method Details

Exception() public static method

Logs details about an exception.
Recurses through a stack of InnerExceptions if needed.
public static Exception ( string methodName, Exception e ) : void
methodName string
e System.Exception
return void

Initialize() public static method

Initializes a new log
public static Initialize ( string appName ) : string
appName string Name of the application
return string

WriteLine() public static method

Works like Trace.WriteLine but also flushes cache
public static WriteLine ( string methodName, string message ) : void
methodName string
message string
return void