Fixer of broken things
Maker of things that break
You can find my dumb ideas on https://tomczarniecki.com/blog/ and me lurking on Mastodon.
Provides a jruby-compatible logger and Rails logger replacement that delegates to SLF4J.
License: MIT License
Fixer of broken things
Maker of things that break
You can find my dumb ideas on https://tomczarniecki.com/blog/ and me lurking on Mastodon.
Im currently using the following:
jruby = 1.7.12
rails = 4.1.1
log-slf4j = 0.0.3
I received the following error when setting the logger in my config/application.rb
file.
module MyApp
class Application < Rails::Application
...
config.logger = Log::SLF4J[self]
end
end
# Same with
Rails.logger = Log::SLF4J[MyApp::Application]
Here's the stack trace:
NoMethodError: undefined method `level=' for #<Log::SLF4J::Logger:0x14bb8845>
Bootstrap at apps/vendor/bundle/jruby/1.9/gems/railties-4.1.1/lib/rails/application/bootstrap.rb:56
instance_exec at org/jruby/RubyBasicObject.java:1562
run at apps/vendor/bundle/jruby/1.9/gems/railties-4.1.1/lib/rails/initializable.rb:30
run_initializers at apps/vendor/bundle/jruby/1.9/gems/railties-4.1.1/lib/rails/initializable.rb:55
tsort_each at file:lib/jruby-complete-1.7.12.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:150
each_strongly_connected_component at file:lib/jruby-complete-1.7.12.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:183
each_strongly_connected_component_from at file:lib/jruby-complete-1.7.12.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:219
each_strongly_connected_component at file:lib/jruby-complete-1.7.12.jar!/META-INF/jruby.home/lib/ruby/1.9/tsort.rb:182
each at org/jruby/RubyArray.java:1613
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.