C# 클래스 Microsoft.VS.ConfigurationManager.Support.Logger

All logging capabilites for class run through these trace listeners
파일 보기 프로젝트 열기: Microsoft/VisualStudioUninstaller

공개 메소드들

메소드 설명
Log ( Exception ex ) : string

With passed exceptions, information is written to log

Log ( Exception ex, string sourcelocation ) : string

With passed exceptions, information is written to log

Log ( string logtext, MessageLevel eventlevel = MessageLevel.Information, string source = "Default" ) : string

Logging source location as well as event level

LogWithOutput ( string logtext, MessageLevel eventlevel = MessageLevel.Information, string source = "Default" ) : string

Logging source location as well as event level

비공개 메소드들

메소드 설명
GenerateOutputMessage ( string logtext, MessageLevel prefix, string source ) : void
GetCaller ( ) : StackFrame
GetCurrentMethod ( StackFrame sf ) : string
GetCurrentMethod ( StackTrace st = null ) : string

메소드 상세

Log() 공개 정적인 메소드

With passed exceptions, information is written to log
public static Log ( Exception ex ) : string
ex System.Exception
리턴 string

Log() 공개 정적인 메소드

With passed exceptions, information is written to log
public static Log ( Exception ex, string sourcelocation ) : string
ex System.Exception
sourcelocation string
리턴 string

Log() 공개 정적인 메소드

Logging source location as well as event level
public static Log ( string logtext, MessageLevel eventlevel = MessageLevel.Information, string source = "Default" ) : string
logtext string
eventlevel MessageLevel
source string
리턴 string

LogWithOutput() 공개 정적인 메소드

Logging source location as well as event level
public static LogWithOutput ( string logtext, MessageLevel eventlevel = MessageLevel.Information, string source = "Default" ) : string
logtext string
eventlevel MessageLevel
source string
리턴 string