rero.gui

Class BuiltInLogger

public class BuiltInLogger extends Object

Field Summary
protected IRCSessionclient
protected static booleanisEnabled
protected static ClientStateListenerlistener
protected static HashMaplogHandles
protected SocketInformationsocket
protected static booleanstripColors
protected static booleantimeStamp
Constructor Summary
BuiltInLogger(IRCSession _client)
Method Summary
static StringgetLogFileName(SocketInformation socket, String window)
booleanisEnabled()
voidlogMessage(String window, String text)

Field Detail

client

protected IRCSession client

isEnabled

protected static boolean isEnabled

listener

protected static ClientStateListener listener

logHandles

protected static HashMap logHandles

socket

protected SocketInformation socket

stripColors

protected static boolean stripColors

timeStamp

protected static boolean timeStamp

Constructor Detail

BuiltInLogger

public BuiltInLogger(IRCSession _client)

Method Detail

getLogFileName

public static String getLogFileName(SocketInformation socket, String window)

isEnabled

public boolean isEnabled()

logMessage

public void logMessage(String window, String text)