ch.sahits.codegen.core.util
Class SahitsLogger

java.lang.Object
  extended by ch.sahits.codegen.core.util.BasicLogger
      extended by ch.sahits.codegen.core.util.SahitsLogger
All Implemented Interfaces:
ILogger

public class SahitsLogger
extends BasicLogger
implements ILogger

Logger for logging into the global namespace

Since:
2.1.0
Author:
Andi Hotz, Sahits GmbH

Constructor Summary
SahitsLogger()
           
 
Method Summary
 void log(java.lang.Throwable e)
          Add an error to the error Log.
 void logInfo(java.lang.Throwable e, java.lang.String message)
          Add an error to the error Log.
 void logWarning(java.lang.Throwable e)
          Add an error to the warning Log.
 
Methods inherited from class ch.sahits.codegen.core.util.BasicLogger
addException, addMessage, getMessage, getThrownException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.sahits.codegen.core.util.ILogger
addException, addMessage, getMessage
 

Constructor Detail

SahitsLogger

public SahitsLogger()
Method Detail

log

public void log(java.lang.Throwable e)
Description copied from interface: ILogger
Add an error to the error Log.

Specified by:
log in interface ILogger
Parameters:
e - Throwable to be logged
See Also:
ILogger.log(java.lang.Throwable)

logWarning

public void logWarning(java.lang.Throwable e)
Description copied from interface: ILogger
Add an error to the warning Log.

Specified by:
logWarning in interface ILogger
Parameters:
e - Throwable to be logged
See Also:
ILogger.logWarning(java.lang.Throwable)

logInfo

public void logInfo(java.lang.Throwable e,
                    java.lang.String message)
Description copied from interface: ILogger
Add an error to the error Log.

Specified by:
logInfo in interface ILogger
Parameters:
e - Throwable to be logged
message - to be logged
See Also:
ILogger.logInfo(java.lang.Throwable, java.lang.String)