C# Class DZLib.Logging.LogHelper

Datei anzeigen Open project: DZ191/LeagueSharp

Private Properties

Property Type Description
CreateDirectory void
InitLog void
SaveToFile void

Public Methods

Method Description
AddToLog ( LogItem logItem ) : void

Adds an item to the log.

ClearLogs ( ) : void

Clears the logs.

GetLogs ( ) : List

Gets the logs.

OnLoad ( ) : void

Called when the LogHelper is loaded

Private Methods

Method Description
CreateDirectory ( ) : void

Creates the directory.

InitLog ( ) : void

Initializes the log file.

SaveToFile ( LogItem logItem ) : void

Saves to the log file.

Method Details

AddToLog() public static method

Adds an item to the log.
public static AddToLog ( LogItem logItem ) : void
logItem LogItem The log item.
return void

ClearLogs() public static method

Clears the logs.
public static ClearLogs ( ) : void
return void

GetLogs() public static method

Gets the logs.
public static GetLogs ( ) : List
return List

OnLoad() public static method

Called when the LogHelper is loaded
public static OnLoad ( ) : void
return void