com.sodius.mdw.core.util.log
Class LogRecorder.Record

java.lang.Object
  extended by com.sodius.mdw.core.util.log.LogRecorder.Record
Enclosing class:
LogRecorder

public static final class LogRecorder.Record
extends Object

A Record keeps track of a logged information.


Method Summary
 Throwable getError()
          Returns the logged error.
 Level getLevel()
          Returns the level of the logged information.
 Object getMessage()
          Returns the logged message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMessage

public Object getMessage()
Returns the logged message.

Returns:
the logged message, null if no logged message.

getError

public Throwable getError()
Returns the logged error.

Returns:
the logged error, null if no logged error.

getLevel

public Level getLevel()
Returns the level of the logged information.

Returns:
the level of the logged information.