C# Class ThoughtWorksCoreLib.TraceLog

Maintains a log of application activity.
Afficher le fichier Open project: ThoughtWorksStudios/mingle.net

Private Properties

Свойство Type Description

Méthodes publiques

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

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

Initialize() public static méthode

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

WriteLine() public static méthode

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