C# 클래스 ErrorProne.NET.Cli.CustomLogger

Very simple (and even naive) logger.
파일 보기 프로젝트 열기: SergeyTeplyakov/ErrorProne.NET 1 사용 예제들

공개 메소드들

메소드 설명
Configure ( string logFileName, bool fileLoggerEnabled ) : void
LogDiagnostics ( Microsoft.CodeAnalysis.Project project, ImmutableArray diagnostics ) : void
PrintStatistics ( List diagnostics, ImmutableArray analyzers ) : void
WriteCaption ( string text ) : void
WriteError ( string text ) : void
WriteInfo ( string text ) : void
WriteLine ( string text, ConsoleColor color ) : void
WriteWarning ( string text ) : void

비공개 메소드들

메소드 설명
CreateCaption ( string text ) : string
WriteFile ( string message ) : void

메소드 상세

Configure() 공개 정적인 메소드

public static Configure ( string logFileName, bool fileLoggerEnabled ) : void
logFileName string
fileLoggerEnabled bool
리턴 void

LogDiagnostics() 공개 정적인 메소드

public static LogDiagnostics ( Microsoft.CodeAnalysis.Project project, ImmutableArray diagnostics ) : void
project Microsoft.CodeAnalysis.Project
diagnostics ImmutableArray
리턴 void

PrintStatistics() 공개 정적인 메소드

public static PrintStatistics ( List diagnostics, ImmutableArray analyzers ) : void
diagnostics List
analyzers ImmutableArray
리턴 void

WriteCaption() 공개 정적인 메소드

public static WriteCaption ( string text ) : void
text string
리턴 void

WriteError() 공개 정적인 메소드

public static WriteError ( string text ) : void
text string
리턴 void

WriteInfo() 공개 정적인 메소드

public static WriteInfo ( string text ) : void
text string
리턴 void

WriteLine() 공개 정적인 메소드

public static WriteLine ( string text, ConsoleColor color ) : void
text string
color ConsoleColor
리턴 void

WriteWarning() 공개 정적인 메소드

public static WriteWarning ( string text ) : void
text string
리턴 void