public static class SubLogger.LogMessage
extends java.lang.Object
Constructor and Description |
---|
LogMessage(java.util.Date date,
java.util.logging.Level level,
java.lang.String message)
Store a Message
|
LogMessage(java.util.logging.Level level,
java.lang.String message)
Store a Message
|
LogMessage(java.lang.String message)
Store a Message
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDate()
Get the date this message was logged
|
java.util.logging.Level |
getLevel()
Get the level this message was logged on
|
java.lang.String |
getMessage()
Get the message
|
public LogMessage(java.lang.String message)
message
- Messagepublic LogMessage(java.util.logging.Level level, java.lang.String message)
level
- Log Levelmessage
- Messagepublic LogMessage(java.util.Date date, java.util.logging.Level level, java.lang.String message)
date
- Datelevel
- Log Levelmessage
- Message