C# 클래스 ThoughtWorksCoreLib.TraceLog

Maintains a log of application activity.
파일 보기 프로젝트 열기: ThoughtWorksStudios/mingle.net

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