logger
Sinatra's request logger
With enable :logging, routes get a logger helper. It writes to env["rack.errors"], so by default these lines go to STDERR, in Ruby Logger's default format and without a request id.
enable :logging
get "/" do
logger.info "message"
end