public class TaskLogEntry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskLogEntry.LogType
Represents the type of an entry
|
Constructor and Description |
---|
TaskLogEntry(String message,
TaskLogEntry.LogType type)
Creates a new entry with the given message and type
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the message of the log entry.
|
Instant |
getTod()
Returns the timestamp (time of day) when the message was logged.
|
TaskLogEntry.LogType |
getType()
Returns the type of the log entry.
|
String |
toString() |
public TaskLogEntry(String message, TaskLogEntry.LogType type)
message
- the message to logtype
- the type / level to logpublic Instant getTod()
public String getMessage()
public TaskLogEntry.LogType getType()
Copyright © 2018. All rights reserved.