C# 클래스 CSharpLogger.Logger

파일 보기 프로젝트 열기: utensil/lolmodelviewer

공개 메소드들

메소드 설명
Close ( ) : void

Call to close the filestream

Error ( String message ) : void

Logs an error

Event ( String message ) : void

Logs an event

HoldFlushes ( ) : void

Stops all filewriting and holds all logging in a buffer until RestartFlushes() is called

Logger ( String filePath ) : System

Allows easy logging of errors, warnings, and events

RestartFlushes ( ) : void

Logging will flush to file after each log call. Forces an immediate flush

Warning ( String message ) : void

Logs a warning

비공개 메소드들

메소드 설명
Flush ( ) : void

메소드 상세

Close() 공개 메소드

Call to close the filestream
public Close ( ) : void
리턴 void

Error() 공개 메소드

Logs an error
public Error ( String message ) : void
message String The message to explain the error
리턴 void

Event() 공개 메소드

Logs an event
public Event ( String message ) : void
message String The message to explain the event
리턴 void

HoldFlushes() 공개 메소드

Stops all filewriting and holds all logging in a buffer until RestartFlushes() is called
public HoldFlushes ( ) : void
리턴 void

Logger() 공개 메소드

Allows easy logging of errors, warnings, and events
public Logger ( String filePath ) : System
filePath String
리턴 System

RestartFlushes() 공개 메소드

Logging will flush to file after each log call. Forces an immediate flush
public RestartFlushes ( ) : void
리턴 void

Warning() 공개 메소드

Logs a warning
public Warning ( String message ) : void
message String The message to explain the warning
리턴 void