README.md in log_tribe-0.2.2 vs README.md in log_tribe-0.2.3
- old
+ new
@@ -35,10 +35,9 @@
# your_sinatra_app.rb
require 'log_tribe'
# ...
configure do
# ...
- enable :logging
log_tribe = LogTribe::Loggers.new([Logger.new(STDOUT),
Fluent::Logger::FluentLogger.new(nil, host: 'srv', port: 10_010)])
use Rack::CommonLogger, log_tribe
end
# ...