Sha256: aee32043b8381a81504a412fe191cf0be614eb391b39547032dfe03f6495566c
Contents?: true
Size: 423 Bytes
Versions: 30
Compression:
Stored size: 423 Bytes
Contents
require "singleton" module Timber # Interface for configuring Timber. # # @note If using rails this will be installed in the `config` object via `config.timber`. class Config include Singleton attr_writer :logger # Set a logger to view internal Timber library log message. # Useful for debugging. Defaults to `::Logger.new(nil)`. def logger @logger ||= Logger.new(nil) end end end
Version data entries
30 entries across 30 versions & 2 rubygems