C# 클래스 Dbot.Utility.Logger

파일 보기 프로젝트 열기: destinygg/bot

공개 프로퍼티들

프로퍼티 타입 설명
SaveToFile bool

공개 메소드들

메소드 설명
Close ( ) : void
ErrorLog ( Exception exception ) : void
ErrorLog ( string text ) : void
Init ( ) : void
Write ( string text, ConsoleColor color = ConsoleColor.White ) : void
WriteExceptionDetails ( Exception exception, StringBuilder builderToFill, int level ) : void

메소드 상세

Close() 공개 정적인 메소드

public static Close ( ) : void
리턴 void

ErrorLog() 공개 정적인 메소드

public static ErrorLog ( Exception exception ) : void
exception System.Exception
리턴 void

ErrorLog() 공개 정적인 메소드

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

Init() 공개 정적인 메소드

public static Init ( ) : void
리턴 void

Write() 공개 정적인 메소드

public static Write ( string text, ConsoleColor color = ConsoleColor.White ) : void
text string
color ConsoleColor
리턴 void

WriteExceptionDetails() 공개 정적인 메소드

public static WriteExceptionDetails ( Exception exception, StringBuilder builderToFill, int level ) : void
exception System.Exception
builderToFill StringBuilder
level int
리턴 void

프로퍼티 상세

SaveToFile 공개적으로 정적으로 프로퍼티

public static bool SaveToFile
리턴 bool