Skip to content

Commit

Permalink
slf4j: Add Logger#reopen for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dekellum committed Jun 19, 2017
1 parent 5db75a2 commit 7f2c620
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slf4j/History.rdoc
@@ -1,5 +1,7 @@
=== 1.7.25.0 (TBD)
* Upgraded to SLF4J 1.7.25
* Add RJack::SLF4J::Logger#reopen no-op for ::Logger (stdlib 2.3)
compatibility.

=== 1.7.19.0 (2016-3-24)
* Upgraded to SLF4J 1.7.19
Expand Down
4 changes: 4 additions & 0 deletions slf4j/lib/rjack-slf4j.rb
Expand Up @@ -336,6 +336,10 @@ def close
#No-OP
end

# No-Op, for Ruby ::Logger compatibility.
def reopen
end

end

# Get Logger by name
Expand Down

0 comments on commit 7f2c620

Please sign in to comment.