public final class BotLogEntry extends Object
| Constructor and Description |
|---|
BotLogEntry(BotLogSeverity severity,
String message) |
BotLogEntry(BotLogSeverity severity,
String message,
Throwable exception) |
BotLogEntry(BotLogSeverity severity,
Throwable exception) |
BotLogEntry(Date timestamp,
BotLogSeverity severity,
String message,
Throwable exception) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException() |
String |
getMessage() |
BotLogSeverity |
getSeverity() |
Date |
getTimestamp() |
void |
setException(Throwable exception) |
void |
setMessage(String message) |
void |
setSeverity(BotLogSeverity severity) |
void |
setTimestamp(Date timestamp) |
public BotLogEntry(BotLogSeverity severity, String message)
public BotLogEntry(BotLogSeverity severity, Throwable exception)
public BotLogEntry(BotLogSeverity severity, String message, Throwable exception)
public BotLogEntry(Date timestamp, BotLogSeverity severity, String message, Throwable exception)
public Date getTimestamp()
public void setTimestamp(Date timestamp)
public BotLogSeverity getSeverity()
public void setSeverity(BotLogSeverity severity)
public String getMessage()
public void setMessage(String message)
public Throwable getException()
public void setException(Throwable exception)
Copyright © 2016. All rights reserved.