public class ResolvedQualifiedLogEvent extends Object implements QualifiedLogEvent
Constructor and Description |
---|
ResolvedQualifiedLogEvent(Level level,
String msgId,
String message,
Throwable t) |
ResolvedQualifiedLogEvent(QualifiedLogEvent log) |
Modifier and Type | Method and Description |
---|---|
String |
getId()
returns the message id of this logging event in the format
COMPONENT_ID-EVENT_ID . |
Level |
getLevel() |
String |
getMessage()
Resolves and returns the human-readable message text of this qualified entity using the current
default locale, i.e.
|
Throwable |
getThrowable()
returns a associated
Throwable which may be the cause of the
QualifiedLogEvent . |
String |
toString() |
public ResolvedQualifiedLogEvent(QualifiedLogEvent log)
public Throwable getThrowable()
QualifiedLogEvent
Throwable
which may be the cause of the
QualifiedLogEvent
.getThrowable
in interface QualifiedLogEvent
Throwable
or nullpublic String getId()
QualifiedMessage
COMPONENT_ID-EVENT_ID
. The COMPONENT_ID and EVENT_ID may contain
arbitrary characters except the dash (-
).getId
in interface QualifiedMessage
public String getMessage()
QualifiedMessage
Locale.getDefault()
.
Caveats:
null
.
getMessage
in interface QualifiedMessage
public Level getLevel()
getLevel
in interface QualifiedLogEvent
Copyright © 2024 levigo holding gmbh. All rights reserved.