summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/runtime/GoogleCloudJsonLoggingRecorder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/runtime/GoogleCloudJsonLoggingRecorder.java b/runtime/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/runtime/GoogleCloudJsonLoggingRecorder.java
index 661b69f..84d9112 100644
--- a/runtime/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/runtime/GoogleCloudJsonLoggingRecorder.java
+++ b/runtime/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/runtime/GoogleCloudJsonLoggingRecorder.java
@@ -31,6 +31,6 @@ public class GoogleCloudJsonLoggingRecorder {
var labelProviders =
Arc.container().select(LabelProvider.class).stream().collect(Collectors.toList());
- return new RuntimeValue<>(Optional.of(new Formatter(parameterProviders, labelProviders)));
+ return new RuntimeValue<>(Optional.of(Formatter.load(parameterProviders, labelProviders)));
}
}