[Fix] Also add bundle in LogMessage.toJson()

This commit is contained in:
Robert von Burg 2020-08-06 12:59:42 +02:00
parent 6899dc47cf
commit 1f87d03ca9
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ public class LogMessage extends I18nMessage {
jsonObject.addProperty(Json.ID, this.id);
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.MESSAGE, formatMessage());
jsonObject.addProperty(Json.SEVERITY, this.severity.name());