| Modifier and Type | Field and Description |
|---|---|
long |
date
Date at which the message has been logged.
|
Log.Level |
level
Level of the logged message.
|
String |
message
Logged message.
|
| Constructor and Description |
|---|
Item(Log.Level level,
String message)
Constructs a buffered item containing specified message.
|
| Modifier and Type | Method and Description |
|---|---|
void |
print(boolean withDate,
PrintStream out)
Prints this item to specified output stream.
|
String |
toString() |
public final Log.Level level
public final String message
public final long date
public void print(boolean withDate,
PrintStream out)
withDate - if true, the printed line starts with
the log date of this itemout - output stream