lib/loggability.rb in loggability-0.6.0 vs lib/loggability.rb in loggability-0.6.1
- old
+ new
@@ -7,14 +7,14 @@
# A mixin that provides a top-level logging subsystem based on Logger.
module Loggability
# Package version constant
- VERSION = '0.6.0'
+ VERSION = '0.6.1'
# VCS revision
- REVISION = %q$Revision: 5475fac60ffb $
+ REVISION = %q$Revision: 27cc08ff66dc $
# The key for the global logger (Loggability's own logger)
GLOBAL_KEY = :__global__
# The methods that are delegated across all loggers
@@ -297,23 +297,9 @@
#
# :section: Configurability Support
#
-
- # Load the Configurability library if it's installed
- begin
- require 'configurability'
- rescue LoadError
- end
-
-
- # Configurability support -- load Loggability configuration from the 'logging' section
- # of the config.
- if defined?( Configurability )
- extend Configurability
- config_key :logging if respond_to?( :config_key )
- end
### Configurability API -- configure logging.
def self::configure( config=nil )
if config
self.log.debug "Configuring Loggability with custom config."