module Roda::RodaPlugins::CommonLogger
def self.configure(app, logger=nil, opts=OPTS)
def self.configure(app, logger=nil, opts=OPTS) app.opts[:common_logger] = logger || app.opts[:common_logger] || $stderr app.opts[:common_logger_meth] = app.opts[:common_logger].method(opts.fetch(:method){logger.respond_to?(:write) ? :write : :<<}) end
def self.start_timer
def self.start_timer Process.clock_gettime(Process::CLOCK_MONOTONIC) end
def self.start_timer # :nodoc:
:nocov:
def self.start_timer # :nodoc: Time.now end