module RailsApiBenchmark::Logging

Attributes

logger[W]

Public Class Methods

included(base) click to toggle source
# File lib/rails_api_benchmark/logging.rb, line 11
def self.included(base)
  class << base
    def logger
      Logging.logger
    end
  end
end
logger() click to toggle source
# File lib/rails_api_benchmark/logging.rb, line 6
def logger
  @logger ||= Logger.new(STDOUT)
end

Public Instance Methods

logger() click to toggle source
# File lib/rails_api_benchmark/logging.rb, line 19
def logger
  Logging.logger
end