Skip to content

DominoKit/domino-slf4j-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logoimage

Development Build Status Maven Central Sonatype Nexus (Snapshots) GWT3/J2CL compatible

domino-slf4j-logger

Enable using slf4j loggers inside GWT client side code, which increase code portability to the JVM where the slf4j logging is preferred.

Maven dependencies

Release

<dependency>
    <groupId>org.dominokit</groupId>
    <artifactId>domino-slf4j-logger</artifactId>
    <version>1.0.2</version>
</dependency>

Snapshot

<dependency>
    <groupId>org.dominokit</groupId>
    <artifactId>domino-slf4j-logger</artifactId>
    <version>HEAD-SNAPSHOT</version>
</dependency>

GWT2 Inherits

<inherits name="org.dominokit.domino.logger.Logging"/>

Usage

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

...

private static final Logger LOGGER = LoggerFactory.getLogger(App.class);

...

LOGGER.info("I can use SLF4J logger in gwt client side code.");

Logging level

Use the following system property to control the log level

domino.slf4j.logging.level possible values are OFF, INFO, WARN, DEBUG, ERROR, TRACE default is INFO.

About

Enable using slf4j loggers inside GWT/J2CL client side code

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages