Enable using slf4j loggers inside GWT client side code, which increase code portability to the JVM where the slf4j logging is preferred.
<dependency>
<groupId>org.dominokit</groupId>
<artifactId>domino-slf4j-logger</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>org.dominokit</groupId>
<artifactId>domino-slf4j-logger</artifactId>
<version>HEAD-SNAPSHOT</version>
</dependency>
<inherits name="org.dominokit.domino.logger.Logging"/>
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.");
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
.