C# Class YetAnotherRelogger.Helpers.Logger

Show file Open project: sinterlkaas/YetAnotherRelogger

Public Methods

Method Description
AddLogmessage ( LogMessage message ) : void

Add custom log message to log buffer

ClearBuffer ( ) : void
LoglevelChar ( Loglevel loglevel ) : char

Get Loglevel char

Write ( BotClass bot, string format ) : void

Write Log message for specific bot

Write ( string format ) : void

Write log message for active bot

WriteGlobal ( string format ) : void

Write global log message

Private Methods

Method Description
AddBuffer ( LogMessage logmessage ) : void
Initialize ( ) : void
Logger ( ) : System
addToRTB ( LogMessage message ) : void

Method Details

AddLogmessage() public method

Add custom log message to log buffer
public AddLogmessage ( LogMessage message ) : void
message LogMessage Logmessage
return void

ClearBuffer() public method

public ClearBuffer ( ) : void
return void

LoglevelChar() public method

Get Loglevel char
public LoglevelChar ( Loglevel loglevel ) : char
loglevel Loglevel Loglevel
return char

Write() public method

Write Log message for specific bot
public Write ( BotClass bot, string format ) : void
bot BotClass BotClass
format string
return void

Write() public method

Write log message for active bot
public Write ( string format ) : void
format string
return void

WriteGlobal() public method

Write global log message
public WriteGlobal ( string format ) : void
format string
return void