com.evelopers.unimod.log
Class Logger.Console

java.lang.Object
  extended bycom.evelopers.unimod.log.Logger.Console
All Implemented Interfaces:
Logger
Enclosing class:
Logger

public static class Logger.Console
extends java.lang.Object
implements Logger

Console logger implementation


Nested Class Summary
 
Nested classes inherited from class com.evelopers.unimod.log.Logger
Logger.Console, Logger.Empty
 
Field Summary
 
Fields inherited from interface com.evelopers.unimod.log.Logger
CONSOLE, EMPTY
 
Method Summary
 void debug(java.lang.Object message)
          Logs debug message
 void error(java.lang.Object message)
          Logs error message
 void fatal(java.lang.Object message)
          Logs fatal message
 Logger getLogger(java.lang.Class clazz)
          Returns another logger for given class.
 Logger getLogger(java.lang.String name)
          Returns another logger for given name.
 void info(java.lang.Object message)
          Logs info message
 void warn(java.lang.Object message)
          Logs warning message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

public Logger getLogger(java.lang.String name)
Description copied from interface: Logger
Returns another logger for given name.

Specified by:
getLogger in interface Logger
Parameters:
name - new logger name
Returns:
newly created logger

getLogger

public Logger getLogger(java.lang.Class clazz)
Description copied from interface: Logger
Returns another logger for given class.

Specified by:
getLogger in interface Logger
Parameters:
clazz - class to return logger for
Returns:
newly created logger

info

public void info(java.lang.Object message)
Description copied from interface: Logger
Logs info message

Specified by:
info in interface Logger
Parameters:
message - message to log

warn

public void warn(java.lang.Object message)
Description copied from interface: Logger
Logs warning message

Specified by:
warn in interface Logger
Parameters:
message - message to log

debug

public void debug(java.lang.Object message)
Description copied from interface: Logger
Logs debug message

Specified by:
debug in interface Logger
Parameters:
message - message to log

error

public void error(java.lang.Object message)
Description copied from interface: Logger
Logs error message

Specified by:
error in interface Logger
Parameters:
message - message to log

fatal

public void fatal(java.lang.Object message)
Description copied from interface: Logger
Logs fatal message

Specified by:
fatal in interface Logger
Parameters:
message - message to log