class Sinatra::ErrorLogger

Public Instance Methods

<<(msg) click to toggle source
# File lib/sinatra/logger.rb, line 19
def <<(msg)
  # To satisfy test calls. This function is available on "Logger" class by default.
end
flush() click to toggle source
# File lib/sinatra/logger.rb, line 15
def flush
  SemanticLogger.flush
end
puts(msg) click to toggle source
# File lib/sinatra/logger.rb, line 11
def puts(msg)
  SemanticLogger["Error"].error msg
end