[Fix] Also add bundle in LogMessage.toJson()
This commit is contained in:
parent
6899dc47cf
commit
1f87d03ca9
|
@ -125,6 +125,7 @@ public class LogMessage extends I18nMessage {
|
||||||
|
|
||||||
jsonObject.addProperty(Json.ID, this.id);
|
jsonObject.addProperty(Json.ID, this.id);
|
||||||
jsonObject.addProperty(Json.DATE, this.zonedDateTime.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME));
|
jsonObject.addProperty(Json.DATE, this.zonedDateTime.format(DateTimeFormatter.ISO_OFFSET_DATE_TIME));
|
||||||
|
jsonObject.addProperty(Json.BUNDLE, getBundle());
|
||||||
jsonObject.addProperty(Json.KEY, getKey());
|
jsonObject.addProperty(Json.KEY, getKey());
|
||||||
jsonObject.addProperty(Json.MESSAGE, formatMessage());
|
jsonObject.addProperty(Json.MESSAGE, formatMessage());
|
||||||
jsonObject.addProperty(Json.SEVERITY, this.severity.name());
|
jsonObject.addProperty(Json.SEVERITY, this.severity.name());
|
||||||
|
|
Loading…
Reference in New Issue