Class Sinatra::Logger
In: lib/sinatra/logger.rb
Parent: Object

Methods

exception   new  

Public Class methods

[Source]

   # File lib/sinatra/logger.rb, line 5
5:     def initialize(steam)
6:       @stream = steam
7:     end

Public Instance methods

[Source]

    # File lib/sinatra/logger.rb, line 16
16:     def exception(e)
17:       error "#{e.message}:\n\t#{e.backtrace.join("\n\t")}"
18:     end

[Validate]