loggability 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,9 @@
1
+ == v0.2.2 [2012-05-11] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ - Fix too-severe log messages while parsing config specs.
4
+ - Proxy Modules like Classes (i.e., with its name and no object_id).
5
+
6
+
1
7
  == v0.2.1 [2012-05-10] Michael Granger <ged@FaerieMUD.org>
2
8
 
3
9
  Bugfix for configuration via a Configurability::Config object.
@@ -114,7 +114,7 @@ class Loggability::Logger < ::Logger
114
114
  ### Make a progname for the specified object.
115
115
  def make_progname( object )
116
116
  case object
117
- when Class
117
+ when Class, Module
118
118
  object.inspect
119
119
  else
120
120
  "%p:%#x" % [ object.class, object.object_id * 2 ]
data/lib/loggability.rb CHANGED
@@ -9,10 +9,10 @@ require 'date'
9
9
  module Loggability
10
10
 
11
11
  # Package version constant
12
- VERSION = '0.2.1'
12
+ VERSION = '0.2.2'
13
13
 
14
14
  # VCS revision
15
- REVISION = %q$Revision: 3d9dced14889 $
15
+ REVISION = %q$Revision: e41140479376 $
16
16
 
17
17
  # The key for the global logger (Loggability's own logger)
18
18
  GLOBAL_KEY = :__global__
@@ -322,7 +322,7 @@ module Loggability
322
322
  def self::parse_config_spec( spec )
323
323
  match = LOGSPEC_PATTERN.match( spec ) or
324
324
  raise ArgumentError, "Couldn't parse logspec: %p" % [ spec ]
325
- self.log.error " parsed config spec %p -> %p" % [ spec, match ]
325
+ self.log.debug " parsed config spec %p -> %p" % [ spec, match ]
326
326
  severity, target, format = match.captures
327
327
 
328
328
  target = case target
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loggability
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
metadata.gz.sig CHANGED
Binary file