net.sourceforge.geeboss.log
Class LoggerImpl

java.lang.Object
  extended by net.sourceforge.geeboss.log.LoggerImpl

public class LoggerImpl
extends java.lang.Object

This class writes warning messages into a file


Constructor Summary
LoggerImpl()
          Creates a new instance of WiSimLogger
 
Method Summary
 void info(java.lang.String msg, java.lang.Throwable t)
          Log an info message
 void log(java.lang.String msg)
          Log warning with no exception
 void log(java.lang.String msg, java.lang.Throwable t)
          Log warning with a message
 void logCritical(java.lang.String msg, java.lang.Throwable t)
          Log critical errors that cause Geeboss to crash in a seperate, unique file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerImpl

public LoggerImpl()
Creates a new instance of WiSimLogger

Method Detail

info

public void info(java.lang.String msg,
                 java.lang.Throwable t)
Log an info message

Parameters:
msg - The method where the info did occur
t - The Exception

log

public void log(java.lang.String msg)
Log warning with no exception

Parameters:
msg - The message

log

public void log(java.lang.String msg,
                java.lang.Throwable t)
Log warning with a message

Parameters:
msg - The method where the warning did occur
t - The Exception

logCritical

public void logCritical(java.lang.String msg,
                        java.lang.Throwable t)
Log critical errors that cause Geeboss to crash in a seperate, unique file. This will avoid the flushing of the log file on next startup of Geeboss to review the warning later.

Parameters:
msg - The message to log
t - The Exception


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.