|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.acelogger.LogEvent
public class LogEvent

Used to store log event data.
| Constructor Summary | |
|---|---|
LogEvent(String message,
LogLevel level)
Constructs a new log event using the supplied information. |
|
LogEvent(String message,
LogLevel level,
LogEventLocation location,
Object... messageParameters)
Constructs a new log event using the supplied information. |
|
LogEvent(String message,
LogLevel level,
LogEventLocation location,
Throwable cause,
Object... messageParameters)
Constructs a new log event using the supplied information. |
|
LogEvent(String message,
LogLevel level,
Object... messageParameters)
Constructs a new log event using the supplied information. |
|
| Method Summary | |
|---|---|
Date |
getCallTime()
Gets the call time for this log event. |
Throwable |
getCause()
Gets the cause for this log event. |
long |
getIdentifier()
Gets the identifier for this log event. |
LogLevel |
getLevel()
Gets the level for this log event. |
LogEventLocation |
getLocation()
Gets the call location for this log event. |
String |
getMessage()
Gets the message for this log event. |
Object[] |
getMessageParameters()
Gets the message parameters for this log event. |
static Date |
getStartTime()
Gets the start time for the application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogEvent(String message,
LogLevel level)
message - The description for this event.level - The severity level for this event.
public LogEvent(String message,
LogLevel level,
Object... messageParameters)
message - The description for this event.level - The severity level for this event.messageParameters - The parameters to be interpolated into the message.
public LogEvent(String message,
LogLevel level,
LogEventLocation location,
Object... messageParameters)
message - The description for this event.level - The severity level for this event.location - The location that originated this event.messageParameters - The parameters to be interpolated into the message.
public LogEvent(String message,
LogLevel level,
LogEventLocation location,
Throwable cause,
Object... messageParameters)
message - The description for this event.level - The severity level for this event.location - The location that originated this event.cause - The problem that originated this event.messageParameters - The parameters to be interpolated into the message.| Method Detail |
|---|
public final LogLevel getLevel()
public final long getIdentifier()
public final Date getCallTime()
public final String getMessage()
public final Object[] getMessageParameters()
public final LogEventLocation getLocation()
public final Throwable getCause()
public static final Date getStartTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||