public static final class EventLogManager.EventEntry extends Object
| Constructor and Description |
|---|
EventEntry(EventLogManager.Level level,
EventLogManager.EventType type,
String message)
Creates a new event entry with current timestamp.
|
EventEntry(Instant timestamp,
EventLogManager.Level level,
EventLogManager.EventType type,
String message)
Creates a new event entry.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFormattedTimestamp()
Returns the timestamp formatted for display.
|
EventLogManager.Level |
getLevel() |
String |
getMessage() |
Instant |
getTimestamp() |
EventLogManager.EventType |
getType() |
String |
toDisplayString()
Returns a display string for this entry.
|
String |
toLogLine()
Returns the log file line for this entry.
|
String |
toString() |
public EventEntry(Instant timestamp, EventLogManager.Level level, EventLogManager.EventType type, String message)
public EventEntry(EventLogManager.Level level, EventLogManager.EventType type, String message)
public Instant getTimestamp()
public EventLogManager.Level getLevel()
public EventLogManager.EventType getType()
public String getMessage()
public String getFormattedTimestamp()
public String toDisplayString()
public String toLogLine()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.