Sha256: 5e0ac740aec65f4f467de89cbacc550c0f1527328ce39e28da91e1a5a111d7c3
Contents?: true
Size: 969 Bytes
Versions: 22
Compression:
Stored size: 969 Bytes
Contents
# Base (must come first, order matters) require "timber/version" require "timber/overrides" require "timber/config" require "timber/util" # Other (sorted alphabetically) require "timber/contexts" require "timber/current_context" require "timber/events" require "timber/log_devices" require "timber/log_entry" require "timber/logger" require "timber/integrations" require "timber/timer" # Load frameworks require "timber/frameworks" module Timber # Access the main configuration object. Please see {{Timber::Config}} for more details. def self.config Config.instance end # Starts a timer for timing events. Please see {{Timber::Timber.start}} for more details. def self.start_timer Timer.start end # Adds context to all logs written within the passed block. Please see # {{Timber::CurrentContext.with}} for a more detailed description with examples. def self.with_context(context, &block) CurrentContext.with(context, &block) end end
Version data entries
22 entries across 22 versions & 1 rubygems