C# 클래스 NugetCracker.Utilities.ConsoleLogger

상속: ILogger
파일 보기 프로젝트 열기: monoman/NugetCracker

공개 메소드들

메소드 설명
ConsoleLogger ( bool debug, bool info = true, bool warn = true ) : System
Debug ( Exception exception, string message = null ) : void
Debug ( string format ) : void
Error ( Exception exception, string message = null ) : void
Error ( string format ) : void
ErrorDetail ( string format ) : void
Info ( string format ) : void
Warn ( Exception exception, string message = null ) : void
Warn ( string format ) : void

비공개 메소드들

메소드 설명
Format ( string format ) : string
FormatException ( Exception exception, string message ) : string
Log ( ConsoleColor foregroundColor, string prefix, Func emit ) : void
LogDebug ( Func emit ) : void
LogError ( Func emit ) : void
LogWarn ( Func emit ) : void

메소드 상세

ConsoleLogger() 공개 메소드

public ConsoleLogger ( bool debug, bool info = true, bool warn = true ) : System
debug bool
info bool
warn bool
리턴 System

Debug() 공개 메소드

public Debug ( Exception exception, string message = null ) : void
exception System.Exception
message string
리턴 void

Debug() 공개 메소드

public Debug ( string format ) : void
format string
리턴 void

Error() 공개 메소드

public Error ( Exception exception, string message = null ) : void
exception System.Exception
message string
리턴 void

Error() 공개 메소드

public Error ( string format ) : void
format string
리턴 void

ErrorDetail() 공개 메소드

public ErrorDetail ( string format ) : void
format string
리턴 void

Info() 공개 메소드

public Info ( string format ) : void
format string
리턴 void

Warn() 공개 메소드

public Warn ( Exception exception, string message = null ) : void
exception System.Exception
message string
리턴 void

Warn() 공개 메소드

public Warn ( string format ) : void
format string
리턴 void