org.csc.phynixx.common.logger
Class PrintLogger

java.lang.Object
  extended by org.csc.phynixx.common.logger.PrintLogger
All Implemented Interfaces:
IPhynixxLogger

public class PrintLogger
extends Object
implements IPhynixxLogger


Field Summary
static Integer DEBUG
           
static Integer ERROR
           
static Integer FATAL
           
static Integer INFO
           
static Integer WARN
           
 
Constructor Summary
PrintLogger()
           
 
Method Summary
 void debug(Object o)
           
 void debug(Object o, Throwable t)
           
 void error(Object o)
           
 void error(Object o, Throwable t)
           
 void fatal(Object o)
           
 void fatal(Object o, Throwable t)
           
 Integer getLogLevel()
           
 PrintStream getLogStream()
           
 void info(Object o)
           
 void info(Object o, Throwable t)
           
 boolean isDebugEnabled()
           
 boolean isInfoEnabled()
           
 void setLogLevel(Integer logLevel)
           
 void setLogStream(PrintStream logStream)
           
 void warn(Object o)
           
 void warn(Object o, Throwable t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final Integer DEBUG

INFO

public static final Integer INFO

WARN

public static final Integer WARN

ERROR

public static final Integer ERROR

FATAL

public static final Integer FATAL
Constructor Detail

PrintLogger

public PrintLogger()
Method Detail

getLogLevel

public Integer getLogLevel()

setLogLevel

public void setLogLevel(Integer logLevel)

getLogStream

public PrintStream getLogStream()

setLogStream

public void setLogStream(PrintStream logStream)

debug

public void debug(Object o)
Specified by:
debug in interface IPhynixxLogger

debug

public void debug(Object o,
                  Throwable t)
Specified by:
debug in interface IPhynixxLogger

error

public void error(Object o)
Specified by:
error in interface IPhynixxLogger

error

public void error(Object o,
                  Throwable t)
Specified by:
error in interface IPhynixxLogger

info

public void info(Object o)
Specified by:
info in interface IPhynixxLogger

info

public void info(Object o,
                 Throwable t)
Specified by:
info in interface IPhynixxLogger

fatal

public void fatal(Object o)
Specified by:
fatal in interface IPhynixxLogger

fatal

public void fatal(Object o,
                  Throwable t)
Specified by:
fatal in interface IPhynixxLogger

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in interface IPhynixxLogger

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in interface IPhynixxLogger

warn

public void warn(Object o)
Specified by:
warn in interface IPhynixxLogger

warn

public void warn(Object o,
                 Throwable t)
Specified by:
warn in interface IPhynixxLogger


Copyright © 2015. All rights reserved.