com.platform.api
Class Logger

java.lang.Object
  extended by com.platform.api.Logger

public class Logger
extends Object


Field Summary
static int DEBUG
           
static int ERROR
           
static int FATAL
           
static int INFO
           
static int TRACE
           
static int WARN
           
 
Constructor Summary
Logger()
           
 
Method Summary
static void debug(Object message, Object type)
           
static void error(Object message, Object type)
           
static void fatal(Object message, Object type)
           
static void info(Object message, Object type)
           
static boolean isDebugEnabled()
           
static boolean isErrorEnabled()
           
static boolean isFatalEnabled()
           
static boolean isInfoEnabled()
           
static boolean isLoggable(int level)
           
static boolean isTraceEnabled()
           
static boolean isWarnEnabled()
           
static void log(int level, Object message, Object type)
           
static void trace(Object message, Object type)
           
static void warn(Object message, Object type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE

public static final int TRACE
See Also:
Constant Field Values

DEBUG

public static final int DEBUG
See Also:
Constant Field Values

INFO

public static final int INFO
See Also:
Constant Field Values

WARN

public static final int WARN
See Also:
Constant Field Values

ERROR

public static final int ERROR
See Also:
Constant Field Values

FATAL

public static final int FATAL
See Also:
Constant Field Values
Constructor Detail

Logger

public Logger()
Method Detail

trace

public static void trace(Object message,
                         Object type)

debug

public static void debug(Object message,
                         Object type)

info

public static void info(Object message,
                        Object type)

warn

public static void warn(Object message,
                        Object type)

error

public static void error(Object message,
                         Object type)

fatal

public static void fatal(Object message,
                         Object type)

isTraceEnabled

public static boolean isTraceEnabled()

isDebugEnabled

public static boolean isDebugEnabled()

isInfoEnabled

public static boolean isInfoEnabled()

isWarnEnabled

public static boolean isWarnEnabled()

isErrorEnabled

public static boolean isErrorEnabled()

isFatalEnabled

public static boolean isFatalEnabled()

isLoggable

public static boolean isLoggable(int level)

log

public static void log(int level,
                       Object message,
                       Object type)


Copyright and Legal Notices