diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-09-03 18:23:23 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2022-09-03 18:43:36 +0200 |
commit | 090b885b7d6dc82e5ec066dbf81d071086e9ec10 (patch) | |
tree | 3203c963cba5842a9f78af0e61e16697b14e9bd7 /deployment/src/main/java | |
parent | 5303673160fb8a52102a55774eb99dae1ebf5eda (diff) |
Quarkus: Simplify and document on/off toggle.
Change-Id: I90b5879ff99ec54deb17453af709ce2ba7070c0d
Diffstat (limited to 'deployment/src/main/java')
-rw-r--r-- | deployment/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/deployment/GoogleCloudLoggingProcessor.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/deployment/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/deployment/GoogleCloudLoggingProcessor.java b/deployment/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/deployment/GoogleCloudLoggingProcessor.java index fdfcb1c..8ef0962 100644 --- a/deployment/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/deployment/GoogleCloudLoggingProcessor.java +++ b/deployment/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/deployment/GoogleCloudLoggingProcessor.java @@ -4,8 +4,8 @@ package eu.mulk.quarkus.googlecloud.jsonlogging.deployment; +import eu.mulk.quarkus.googlecloud.jsonlogging.runtime.GoogleCloudJsonLoggingConfiguration; import eu.mulk.quarkus.googlecloud.jsonlogging.runtime.GoogleCloudJsonLoggingRecorder; -import eu.mulk.quarkus.googlecloud.jsonlogging.runtime.GoogleJsonLogConfig; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment.annotations.Record; @@ -39,7 +39,8 @@ public class GoogleCloudLoggingProcessor { */ @BuildStep @Record(ExecutionTime.RUNTIME_INIT) - public LogConsoleFormatBuildItem setUpFormatter(GoogleCloudJsonLoggingRecorder recorder, GoogleJsonLogConfig config) { - return new LogConsoleFormatBuildItem(recorder.initialize(config)); + public LogConsoleFormatBuildItem setUpFormatter( + GoogleCloudJsonLoggingRecorder recorder, GoogleCloudJsonLoggingConfiguration configuration) { + return new LogConsoleFormatBuildItem(recorder.initialize(configuration)); } } |