Expresso 5-6

com.jcorporate.expresso.kernel
Class ConsoleInstallLog

java.lang.Object
  extended bycom.jcorporate.expresso.kernel.ConsoleInstallLog
All Implemented Interfaces:
InstallLog

public class ConsoleInstallLog
extends Object
implements InstallLog

This is a default implementation of InstallLog that sends all output to the System console. Super basic, but it allows for a building block in non- servlet environments.

Author:
Michael Rimov

Constructor Summary
ConsoleInstallLog()
           
 
Method Summary
 void debug(String message)
          Logs debug messages
 void error(String message)
          Logs error messages
 void error(String message, Throwable error)
          Logs error messages
 void info(String message)
          Logs info messages
 void warn(String message)
          Logs warning messages
 void warn(String message, Throwable error)
          Logs warning messages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleInstallLog

public ConsoleInstallLog()
Method Detail

debug

public void debug(String message)
Logs debug messages

Specified by:
debug in interface InstallLog
Parameters:
message - the messages to log

info

public void info(String message)
Logs info messages

Specified by:
info in interface InstallLog
Parameters:
message - the messages to log

warn

public void warn(String message)
Logs warning messages

Specified by:
warn in interface InstallLog
Parameters:
message - the messages to log

warn

public void warn(String message,
                 Throwable error)
Logs warning messages

Specified by:
warn in interface InstallLog
Parameters:
message - the messages to log
error - The exception thrown that needs to be logged

error

public void error(String message,
                  Throwable error)
Logs error messages

Specified by:
error in interface InstallLog
Parameters:
message - the messages to log
error - the Exception thrown that needs to be logged

error

public void error(String message)
Logs error messages

Specified by:
error in interface InstallLog
Parameters:
message - the messages to log

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.