Sha256: fd5d0ee3cc5bdd59df010fd6e2549502701cba906feb8775da998d5fb322bf85

Contents?: true

Size: 906 Bytes

Versions: 1

Compression:

Stored size: 906 Bytes

Contents

$:.unshift(File.expand_path"../../trinidad-libs", File.dirname(__FILE__))

module Trinidad
  module Extensions
    module LoggingJars
      SLF4J_VERSION = '1.6.1'
      LOG4J_VERSION = '1.2.16'
      LOGBACK_VERSION = '0.9.29'

      def require_common_jars
        require "slf4j-api-#{SLF4J_VERSION}.jar"
        require "juli-adapters.jar"
        require "jcl-over-slf4j-#{SLF4J_VERSION}.jar"
      end

      def require_log4j_jars
        require "slf4j-log4j12-#{SLF4J_VERSION}.jar"
        require "log4j-#{LOG4J_VERSION}"
        require "jul-to-slf4j-#{SLF4J_VERSION}.jar"
      end

      def require_logback_jars
        require "logback-core-#{LOGBACK_VERSION}.jar"
        require "logback-classic-#{LOGBACK_VERSION}.jar"
        require "jul-to-slf4j-#{SLF4J_VERSION}.jar"
      end

      def require_jul_jars
        require "slf4j-jdk14-#{SLF4J_VERSION}.jar"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trinidad_logging_extension-1.0.0 lib/trinidad_logging_extension/jars.rb