slf4j-gwt

Simple slf4j api implementation for GWT

Лицензия

Лицензия

Категории

Категории

GWT (Google Web Toolkit) Взаимодействие с пользователем Веб-фреймворки SLF4J Библиотеки уровня приложения Logging
Группа

Группа

ru.finam
Идентификатор

Идентификатор

slf4j-gwt
Последняя версия

Последняя версия

1.7.7.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

slf4j-gwt
Simple slf4j api implementation for GWT
Ссылка на сайт

Ссылка на сайт

https://github.com/FinamTrade/slf4j-gwt
Система контроля версий

Система контроля версий

https://github.com/FinamTrade/slf4j-gwt

Скачать slf4j-gwt

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/ru.finam/slf4j-gwt/ -->
<dependency>
    <groupId>ru.finam</groupId>
    <artifactId>slf4j-gwt</artifactId>
    <version>1.7.7.1</version>
</dependency>
// https://jarcasting.com/artifacts/ru.finam/slf4j-gwt/
implementation 'ru.finam:slf4j-gwt:1.7.7.1'
// https://jarcasting.com/artifacts/ru.finam/slf4j-gwt/
implementation ("ru.finam:slf4j-gwt:1.7.7.1")
'ru.finam:slf4j-gwt:jar:1.7.7.1'
<dependency org="ru.finam" name="slf4j-gwt" rev="1.7.7.1">
  <artifact name="slf4j-gwt" type="jar" />
</dependency>
@Grapes(
@Grab(group='ru.finam', module='slf4j-gwt', version='1.7.7.1')
)
libraryDependencies += "ru.finam" % "slf4j-gwt" % "1.7.7.1"
[ru.finam/slf4j-gwt "1.7.7.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.slf4j : slf4j-api jar 1.7.7
com.google.gwt : gwt-user jar 2.7.0

Модули Проекта

Данный проект не имеет модулей.

Simple slf4j api implementation for GWT

The aim of this project is to provide developers with an implementation of the Simple Logging Facade for Java (SLF4J 1.7.7) API for the GWT client side. Right now the project provides the basic implementation of the SLF4J API using the java.util.logging (JUL) logging framework supported since GWT 2.1. All logging messages are printed to developer/firebug console. Note that slf4j-gwt depends on the latest stable GWT (GWT 2.7).

Usage

slf4j-gwt is available in maven central

Just include it in your pom.xml

<dependency>
    <groupId>ru.finam</groupId>
    <artifactId>slf4j-gwt</artifactId>
    <version>1.7.7.1</version>
</dependency>

or gradle build:

dependencies {
    compile 'ru.finam:slf4j-gwt:1.7.7.1'
}

or ivy:

<dependency org="ru.finam" name="slf4j-gwt" rev="1.7.7.1" />

Add dependency in your gwt module descriptor (*.gwt.xml):

<inherits name="ru.finam.slf4jgwt.logging.gwt.Logging"/>

You can also set logging level (ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE):

<set-property name="gwt.logging.logLevel" value="INFO"/>

Enable or disable gwt logging:

<set-property name="gwt.logging.enabled" value="TRUE"/>

If you want to provide slf4j API (e.g., in library module):

<inherits name="ru.finam.slf4jgwt.api.API"/>

If you want to provide slf4j but to not log anything in your application:

<inherits name="ru.finam.slf4jgwt.logging.nop.NOP"/>

ru.finam.slf4jgwt.logging.util.Util module provides a handful Log class to log messages without instantiating Logger in client code.

ru.finam

FinamTrade

Версии библиотеки

Версия
1.7.7.1
1.2.1
1.2
1.1
1.0