C# 클래스 fCraft.Logger

Central logging class. Logs to file, relays messages to the frontend, submits crash reports.
파일 보기 프로젝트 열기: GlennMR/800craft 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ConsoleOptions bool[]
LogFileOptions bool[]
SplittingType LogSplittingType

공개 메소드들

메소드 설명
CheckForCommonErrors ( [ ex ) : bool
EventTraceNotifier ( int eventIndex, EventArgs e ) : void
LogAndReportCrash ( [ message, [ assembly, [ exception, bool shutdownImminent ) : void
LogToConsole ( [ message ) : void

비공개 메소드들

메소드 설명
AddEventHook ( TypeBuilder typeBuilder, Type methodParams, Type returnType, int eventIndex ) : void
GetPrefix ( LogType level ) : string
LoadTracingSettings ( ) : void
Log ( LogType type, [ message ) : void
Logger ( ) : System.Reflection.Emit
MarkLogStart ( ) : void
PrepareEventTracing ( ) : void
RaiseCrashedEvent ( CrashedEventArgs e ) : void
RaiseLoggedEvent ( [ rawMessage, [ line, LogType logType ) : void

메소드 상세

CheckForCommonErrors() 공개 정적인 메소드

public static CheckForCommonErrors ( [ ex ) : bool
ex [
리턴 bool

EventTraceNotifier() 공개 정적인 메소드

public static EventTraceNotifier ( int eventIndex, EventArgs e ) : void
eventIndex int
e System.EventArgs
리턴 void

LogAndReportCrash() 공개 정적인 메소드

public static LogAndReportCrash ( [ message, [ assembly, [ exception, bool shutdownImminent ) : void
message [
assembly [
exception [
shutdownImminent bool
리턴 void

LogToConsole() 공개 정적인 메소드

public static LogToConsole ( [ message ) : void
message [
리턴 void

프로퍼티 상세

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

public static bool[] ConsoleOptions
리턴 bool[]

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

public static bool[] LogFileOptions
리턴 bool[]

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

public static LogSplittingType SplittingType
리턴 LogSplittingType