lib/timber.rb in timber-2.6.2 vs lib/timber.rb in timber-3.0.0
- old
+ new
@@ -1,24 +1,24 @@
# Base (must come first, order matters)
require "timber/version"
-require "timber/overrides"
require "timber/config"
require "timber/util"
+# Load frameworks
+
# Other (sorted alphabetically)
require "timber/contexts"
require "timber/current_context"
require "timber/events"
+require "timber/integration"
require "timber/log_devices"
require "timber/log_entry"
require "timber/logger"
-require "timber/integrations"
require "timber/timer"
+require "timber/integrator"
+require "timber/integration"
-# 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
@@ -31,6 +31,6 @@
# 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
\ No newline at end of file
+end