domino-slf4j-logger

provide implementation for using slf4j in gwt/j2cl client code

License

License

Categories

Categories

SLF4J Application Layer Libs Logging
GroupId

GroupId

org.dominokit
ArtifactId

ArtifactId

domino-slf4j-logger
Last Version

Last Version

1.0.2-gwt2.8.2
Release Date

Release Date

Type

Type

gwt-lib
Description

Description

domino-slf4j-logger
provide implementation for using slf4j in gwt/j2cl client code
Project Organization

Project Organization

Dominokit
Source Code Management

Source Code Management

https://github.com/DominoKit/domino-slf4j-logger

Download domino-slf4j-logger

Dependencies

compile (3)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.30
com.google.elemental2 : elemental2-core jar 1.0.0-RC1
com.google.elemental2 : elemental2-dom jar 1.0.0-RC1

test (2)

Group / Artifact Type Version
junit : junit jar 4.13.1
org.assertj : assertj-core jar 3.18.1

Project Modules

There are no modules declared in this project.

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.1</version>
</dependency>

Snapshot

<dependency>
    <groupId>org.dominokit</groupId>
    <artifactId>domino-slf4j-logger</artifactId>
    <version>1.0.2-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 cann 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.

org.dominokit

DominoKit

Service Providers, UI library, Modular framework and GWT experts.

Versions

Version
1.0.2-gwt2.8.2
1.0.2
1.0.1
1.0.0