C# Class CSharpLogger.Logger

Afficher le fichier Open project: utensil/lolmodelviewer

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Flush ( ) : void

Method Details

Close() public méthode

Call to close the filestream
public Close ( ) : void
Résultat void

Error() public méthode

Logs an error
public Error ( String message ) : void
message String The message to explain the error
Résultat void

Event() public méthode

Logs an event
public Event ( String message ) : void
message String The message to explain the event
Résultat void

HoldFlushes() public méthode

Stops all filewriting and holds all logging in a buffer until RestartFlushes() is called
public HoldFlushes ( ) : void
Résultat void

Logger() public méthode

Allows easy logging of errors, warnings, and events
public Logger ( String filePath ) : System
filePath String
Résultat System

RestartFlushes() public méthode

Logging will flush to file after each log call. Forces an immediate flush
public RestartFlushes ( ) : void
Résultat void

Warning() public méthode

Logs a warning
public Warning ( String message ) : void
message String The message to explain the warning
Résultat void