Sha256: 20b0a721ff7a104aa641a88ce3c2a1931995cf4ca94857839a9d9dffa8575771
Contents?: true
Size: 192 Bytes
Versions: 1
Compression:
Stored size: 192 Bytes
Contents
class Sinatra::Base configure do use Rack::CommonLogger, SyslogLogger.new end before do env["rack.errors"] = SyslogLogger.new unless env["rack.errors"].is_a? StringIO end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-syslog-logger-0.1.0 | lib/sinatra-syslog-logger/sinatra.rb |