org.nuiton.util
Class Log.LogEvent
java.lang.Object
java.util.EventObject
org.nuiton.util.Log.LogEvent
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Log
public static class Log.LogEvent
- extends EventObject
Les events envoyes aux listeners
- See Also:
- Serialized Form
category
protected String category
level
protected Level level
message
protected String message
exception
protected Throwable exception
taskMax
protected int taskMax
taskValue
protected int taskValue
Log.LogEvent
public Log.LogEvent(Object source,
String category,
Level level,
String message,
Throwable exception)
Log.LogEvent
public Log.LogEvent(Object source,
String category,
String message,
int taskMax,
int taskValue)
getCategory
public String getCategory()
getLevel
public Level getLevel()
- Retourne une valeur que si l'event est un sendMessage, sinon null;
getMessage
public String getMessage()
getException
public Throwable getException()
- L'exception envoyé dans le log, si le log ne contient pas d'exception
alors null est retourne.
getTaskMax
public int getTaskMax()
getTaskValue
public int getTaskValue()
Copyright © 2004-2011 CodeLutin. All Rights Reserved.