From 090b885b7d6dc82e5ec066dbf81d071086e9ec10 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 3 Sep 2022 18:23:23 +0200 Subject: Quarkus: Simplify and document on/off toggle. Change-Id: I90b5879ff99ec54deb17453af709ce2ba7070c0d --- .../jsonlogging/deployment/GoogleCloudLoggingProcessor.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'deployment/src/main/java') 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)); } } -- cgit v1.2.3