org.owasp.orizon
Class OrizonLog

java.lang.Object
  extended by org.owasp.orizon.OrizonLog

public class OrizonLog
extends java.lang.Object

This class is a wrapper to log4j facilities

Author:
thesp0nge

Constructor Summary
OrizonLog(java.lang.Class name)
           
 
Method Summary
 boolean debug(java.lang.Object o)
          Prints a debug message
 boolean error(java.lang.Object o)
          Prints an error message
 boolean fatal(java.lang.Object o)
          Prints a fatal error message
 boolean info(java.lang.Object o)
          Prints an informational message
 boolean warning(java.lang.Object o)
          Prints a warning message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrizonLog

public OrizonLog(java.lang.Class name)
Method Detail

fatal

public boolean fatal(java.lang.Object o)
Prints a fatal error message

Parameters:
o - the object used to build the log message
Returns:
false

debug

public boolean debug(java.lang.Object o)
Prints a debug message

Parameters:
o - the object used to build the log message
Returns:
true

error

public boolean error(java.lang.Object o)
Prints an error message

Parameters:
o - the object used to build the log message
Returns:
false

warning

public boolean warning(java.lang.Object o)
Prints a warning message

Parameters:
o - the object used to build the log message
Returns:
true

info

public boolean info(java.lang.Object o)
Prints an informational message

Parameters:
o - the object used to build the log message
Returns:
true