summaryrefslogtreecommitdiff
path: root/examples/quarkus/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quarkus/src/main/java')
-rw-r--r--examples/quarkus/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RandomNumberParameterProvider.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quarkus/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RandomNumberParameterProvider.java b/examples/quarkus/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RandomNumberParameterProvider.java
index 7e4158c..93975ae 100644
--- a/examples/quarkus/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RandomNumberParameterProvider.java
+++ b/examples/quarkus/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RandomNumberParameterProvider.java
@@ -3,8 +3,12 @@ package eu.mulk.quarkus.googlecloud.jsonlogging.example;
import eu.mulk.quarkus.googlecloud.jsonlogging.KeyValueParameter;
import eu.mulk.quarkus.googlecloud.jsonlogging.StructuredParameter;
import eu.mulk.quarkus.googlecloud.jsonlogging.StructuredParameterProvider;
+import io.quarkus.arc.Unremovable;
import java.util.concurrent.ThreadLocalRandom;
+import javax.inject.Singleton;
+@Singleton
+@Unremovable
public class RandomNumberParameterProvider implements StructuredParameterProvider {
@Override