rjack-slf4j

Description

A JRuby adaption and gem packaging of the Simple Logging Facade for Java. Provides all jar dependencies and a Ruby Logger compatible facade.

SLF4J is a java logging abstraction and set of adapters to various concrete logging implementations and legacy logging APIs. The slf4j gem adds a ruby core Logger compatible facade to SLF4J, and makes any needed adapters available to JRuby applications. This makes it possible to unify and control logging output of both java and ruby components in a JRuby application.

Features

Synopsis

require 'rjack-slf4j'
require 'rjack-slf4j/simple'

log = RJack::SLF4J[ "my.app.logger" ]
log.info "Hello World!"

License

rjack-slf4j gem

Copyright © 2008-2014 David Kellum All rights reserved.

The SLF4J ruby wrapper and gem packaging is released under the same license terms as the SLF4J java binaries, see below. Note that these license terms are identical to the MIT License and deemed compatible with GPL and the Apache Software License.

SLF4J (java)

Copyright © 2004-2008 QOS.ch All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.