C# Класс ThoughtWorksCoreLib.TraceLog

Maintains a log of application activity.
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

Exception() публичный статический Метод

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
Результат void

Initialize() публичный статический Метод

Initializes a new log
public static Initialize ( string appName ) : string
appName string Name of the application
Результат string

WriteLine() публичный статический Метод

Works like Trace.WriteLine but also flushes cache
public static WriteLine ( string methodName, string message ) : void
methodName string
message string
Результат void