Registry / logging / google-cloud-logging-logback

google-cloud-logging-logback

JSON →
library0.140.0-alphajavamavenunverified

Logback support for Google Cloud Logging, enabling structured logging to Cloud Logging.

<dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-logging-logback</artifactId> <version>0.140.0-alpha</version> </dependency>
INSTALL
IMPORT
SIG · GOOGLE-CLOUD-LOGGI
G
google-cloud-logging-logback
loggingjavav0.140.0-alpha
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LoggingAppender
com.google.cloud.logging.logback.LoggingAppender

Configures a LoggingAppender for Google Cloud Logging.

import com.google.cloud.logging.logback.LoggingAppender; import ch.qos.logback.classic.LoggerContext; import ch.qos.logback.core.util.StatusPrinter; public class Example { public static void main(String[] args) { LoggerContext lc = (LoggerContext) org.slf4j.LoggerFactory.getILoggerFactory(); LoggingAppender appender = new LoggingAppender(); appender.setContext(lc); appender.start(); System.out.println("LoggingAppender started"); } }
Debug
Known issues
breakingThis library is in alpha; API may change.
fix
Pin to a specific version and monitor for updates.
affects: >=0.140.0-alpha
Upgrade
Version history
0.140.0-alphalatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
32
Resources
google-cloud-logging-logback — mvn dependency:get google-cloud-logging-logback · libregistry