logback 1.1-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.rdoc +27 -0
- data/Manifest.txt +8 -0
- data/README.rdoc +46 -0
- data/Rakefile +29 -0
- data/lib/logback.rb +19 -0
- data/lib/logback/access.rb +1 -0
- data/lib/logback/base.rb +17 -0
- data/test/test_logback.rb +33 -0
- metadata +91 -0
data/History.rdoc
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
=== 1.1 (2011-5-19)
|
2
|
+
* Re-release under the "logback" name as a simple wrapper for
|
3
|
+
rjack-logback ~> 1.1.1.
|
4
|
+
|
5
|
+
=== 0.9.15.2 (2009-5-8)
|
6
|
+
* Added Logback.config_console({}) convenience config method.
|
7
|
+
* Use rdoc 2.4.3 and hoe 1.12.2 for build, and general rdoc
|
8
|
+
improvements.
|
9
|
+
|
10
|
+
=== 0.9.15.1 (2009-2-15)
|
11
|
+
* Upgraded to Logback 0.9.15
|
12
|
+
* Fixed fuzzy slf4j dependency as "~> 1.5.6.1"
|
13
|
+
|
14
|
+
=== 0.9.14.1 (2009-1-4)
|
15
|
+
* Upgraded to Logback 0.9.14
|
16
|
+
|
17
|
+
=== 0.9.13.1 (2008-12-6)
|
18
|
+
* Upgraded to Logback 0.9.13
|
19
|
+
* Updated SLF4J dependency to ~> 1.5.6
|
20
|
+
* LogbackBase -rename-> Logback
|
21
|
+
|
22
|
+
=== 0.9.11.1 (2008-11-1)
|
23
|
+
* Upgraded to Logback 0.9.11
|
24
|
+
* Updated SLF4J dependency to ~> 1.5.5
|
25
|
+
|
26
|
+
=== 0.9.9.1 (2008-10-8)
|
27
|
+
* Initial release based on Logback 0.9.9
|
data/Manifest.txt
ADDED
data/README.rdoc
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
= logback
|
2
|
+
|
3
|
+
* http://rjack.rubyforge.org/logback-redirect
|
4
|
+
* http://rjack.rubyforge.org
|
5
|
+
* https://github.com/dekellum/rjack
|
6
|
+
|
7
|
+
== Description
|
8
|
+
|
9
|
+
*DEPRECATED*: Use the actively maintained rjack-logback instead. This
|
10
|
+
gem has been re-released as a simple compatibly wrapper for the
|
11
|
+
rjack-logback gem.
|
12
|
+
|
13
|
+
== Synopsis
|
14
|
+
|
15
|
+
require 'logback'
|
16
|
+
Logback.config_console( :level => Logback::INFO )
|
17
|
+
|
18
|
+
log = RJack::SLF4J[ "my.app.logger" ]
|
19
|
+
log.info "Hello World!"
|
20
|
+
|
21
|
+
== License
|
22
|
+
|
23
|
+
=== logback gem
|
24
|
+
|
25
|
+
Copyright (c) 2008-2011 David Kellum
|
26
|
+
|
27
|
+
logback is free software: you can redistribute it and/or modify it
|
28
|
+
under the terms of either of following licenses:
|
29
|
+
|
30
|
+
* {GNU Lesser General Public License}[http://www.gnu.org/licenses/lgpl.html]
|
31
|
+
v3 or later
|
32
|
+
* {Eclipse Public License v1.0}[http://www.eclipse.org/legal/epl-v10.html]
|
33
|
+
|
34
|
+
rjack-logback is distributed in the hope that it will be useful, but
|
35
|
+
WITHOUT ANY WARRANTY; without even the implied warranty of
|
36
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
37
|
+
|
38
|
+
=== Logback (java)
|
39
|
+
|
40
|
+
Copyright (c) 1999-2009, QOS.ch
|
41
|
+
|
42
|
+
This program and the accompanying materials are dual-licensed under
|
43
|
+
either the terms of the Eclipse Public License v1.0 as published by
|
44
|
+
the Eclipse Foundation or (per the licensee's choosing) under the
|
45
|
+
terms of the GNU Lesser General Public License version 2.1 as
|
46
|
+
published by the Free Software Foundation.
|
data/Rakefile
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
$LOAD_PATH << './lib'
|
4
|
+
require 'logback/base'
|
5
|
+
|
6
|
+
require 'rubygems'
|
7
|
+
gem 'rjack-tarpit', '~> 1.3.0'
|
8
|
+
require 'rjack-tarpit'
|
9
|
+
|
10
|
+
t = RJack::TarPit.new( 'logback', LogbackRedirect::VERSION, :java_platform )
|
11
|
+
|
12
|
+
t.specify do |h|
|
13
|
+
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
14
|
+
h.extra_deps << [ 'rjack-logback', '~> 1.1.1' ]
|
15
|
+
h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/logback-redirect"
|
16
|
+
end
|
17
|
+
|
18
|
+
task :check_history_version do
|
19
|
+
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
20
|
+
end
|
21
|
+
task :check_history_date do
|
22
|
+
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
23
|
+
end
|
24
|
+
|
25
|
+
task :gem => [ :check_history_version ]
|
26
|
+
task :tag => [ :check_history_version, :check_history_date ]
|
27
|
+
task :push => [ :check_history_date ]
|
28
|
+
|
29
|
+
t.define_tasks
|
data/lib/logback.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright (c) 2008-2011 David Kellum
|
3
|
+
#
|
4
|
+
# rjack-logback is free software: you can redistribute it and/or
|
5
|
+
# modify it under the terms of either of following licenses:
|
6
|
+
#
|
7
|
+
# GNU Lesser General Public License v3 or later
|
8
|
+
# Eclipse Public License v1.0
|
9
|
+
#
|
10
|
+
# rjack-logback is distributed in the hope that it will be useful, but
|
11
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
13
|
+
#++
|
14
|
+
|
15
|
+
require 'rjack-logback'
|
16
|
+
|
17
|
+
require 'logback/base'
|
18
|
+
|
19
|
+
Logback = RJack::Logback
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'rjack-logback/access'
|
data/lib/logback/base.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright (c) 2008-2011 David Kellum
|
3
|
+
#
|
4
|
+
# logback is free software: you can redistribute it and/or
|
5
|
+
# modify it under the terms of either of following licenses:
|
6
|
+
#
|
7
|
+
# GNU Lesser General Public License v3 or later
|
8
|
+
# Eclipse Public License v1.0
|
9
|
+
#
|
10
|
+
# rjack-logback is distributed in the hope that it will be useful, but
|
11
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
13
|
+
#++
|
14
|
+
|
15
|
+
module LogbackRedirect
|
16
|
+
VERSION = '1.1'
|
17
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#!/usr/bin/env jruby
|
2
|
+
#--
|
3
|
+
# Copyright (c) 2008-2011 David Kellum
|
4
|
+
#
|
5
|
+
# rjack-logback is free software: you can redistribute it and/or
|
6
|
+
# modify it under the terms of either of following licenses:
|
7
|
+
#
|
8
|
+
# GNU Lesser General Public License v3 or later
|
9
|
+
# Eclipse Public License v1.0
|
10
|
+
#
|
11
|
+
# rjack-logback is distributed in the hope that it will be useful, but
|
12
|
+
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
14
|
+
#++
|
15
|
+
|
16
|
+
$LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
|
17
|
+
require 'logback'
|
18
|
+
|
19
|
+
# Test load works
|
20
|
+
require 'logback/access'
|
21
|
+
|
22
|
+
require 'test/unit'
|
23
|
+
|
24
|
+
class TestLogback < Test::Unit::TestCase
|
25
|
+
|
26
|
+
def test_output
|
27
|
+
Logback.config_console
|
28
|
+
log = RJack::SLF4J[ "my.app" ]
|
29
|
+
log.info( "test output" )
|
30
|
+
assert true
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
metadata
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: logback
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: "1.1"
|
6
|
+
platform: java
|
7
|
+
authors:
|
8
|
+
- David Kellum
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2011-05-19 00:00:00 -07:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rjack-logback
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ~>
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 1.1.1
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rjack-tarpit
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ~>
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: 1.3.1
|
36
|
+
type: :development
|
37
|
+
version_requirements: *id002
|
38
|
+
description: |-
|
39
|
+
*DEPRECATED*: Use the actively maintained rjack-logback instead. This
|
40
|
+
gem has been re-released as a simple compatibly wrapper for the
|
41
|
+
rjack-logback gem.
|
42
|
+
email:
|
43
|
+
- dek-oss@gravitext.com
|
44
|
+
executables: []
|
45
|
+
|
46
|
+
extensions: []
|
47
|
+
|
48
|
+
extra_rdoc_files:
|
49
|
+
- Manifest.txt
|
50
|
+
- History.rdoc
|
51
|
+
- README.rdoc
|
52
|
+
files:
|
53
|
+
- History.rdoc
|
54
|
+
- Manifest.txt
|
55
|
+
- README.rdoc
|
56
|
+
- Rakefile
|
57
|
+
- lib/logback/base.rb
|
58
|
+
- lib/logback.rb
|
59
|
+
- lib/logback/access.rb
|
60
|
+
- test/test_logback.rb
|
61
|
+
has_rdoc: true
|
62
|
+
homepage: http://rjack.rubyforge.org/logback-redirect
|
63
|
+
licenses: []
|
64
|
+
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options:
|
67
|
+
- --main
|
68
|
+
- README.rdoc
|
69
|
+
require_paths:
|
70
|
+
- lib
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: "0"
|
77
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: "0"
|
83
|
+
requirements: []
|
84
|
+
|
85
|
+
rubyforge_project: logback
|
86
|
+
rubygems_version: 1.5.1
|
87
|
+
signing_key:
|
88
|
+
specification_version: 3
|
89
|
+
summary: "*DEPRECATED*: Use the actively maintained rjack-logback instead"
|
90
|
+
test_files:
|
91
|
+
- test/test_logback.rb
|