-
public final class LogEvent.ErrorThe additional error information in case this log is marked as an error
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classLogEvent.Error.Companion
-
Constructor Summary
Constructors Constructor Description LogEvent.Error(String kind, String message, String stack, List<LogEvent.Thread> threads)
-
Method Summary
Modifier and Type Method Description final StringgetKind()final UnitsetKind(String kind)final StringgetMessage()final UnitsetMessage(String message)final StringgetStack()final UnitsetStack(String stack)final List<LogEvent.Thread>getThreads()final JsonElementtoJson()-
-
Constructor Detail
-
LogEvent.Error
LogEvent.Error(String kind, String message, String stack, List<LogEvent.Thread> threads)
- Parameters:
kind- The kind of this error.message- The error messagestack- The error stack tracethreads- Description of each thread in the process when error happened.
-
-
Method Detail
-
getMessage
final String getMessage()
-
setMessage
final Unit setMessage(String message)
- Parameters:
message- The error message
-
getThreads
final List<LogEvent.Thread> getThreads()
-
toJson
final JsonElement toJson()
-
-
-
-