public
Rubygem
Description: JSON Web App Framework
Homepage: http://halcyon.rubyforge.org/
Clone URL: git://github.com/mtodd/halcyon.git
Search Repo:
Click here to lend your support to: halcyon and make a donation at www.pledgie.com !
Fix issues with default Halcyon loggers and the configuration values not 
being specified as symbols. [#55 state:resolved]
mtodd (author)
Tue Jul 01 13:19:34 -0700 2008
commit  b7b361cf882912513fc6feef01863a59e3e200b5
tree    a7fe9fd7b343efa156ec67f140fb0c5f4dc1077b
parent  4ff84faf9b4bc0857d52e06e5e0f83adbfff2cf6
...
 
 
1
2
3
...
22
23
24
25
 
26
27
28
...
1
2
3
4
5
...
24
25
26
 
27
28
29
30
0
@@ -1,3 +1,5 @@
0
+require 'logger'
0
+
0
 module Halcyon
0
   module Logging
0
     
0
@@ -22,7 +24,7 @@ module Halcyon
0
       # Log4r => specifies Log4r
0
       def set(logger = 'Logger')
0
         Halcyon.send(:remove_const, :Logger) if Halcyon.const_defined? :Logger
0
- Halcyon.const_set :Logger, Halcyon::Logging.const_get(logger)
0
+ Halcyon.const_set :Logger, Halcyon::Logging.const_get(logger.to_sym)
0
       end
0
       
0
     end

Comments

    No one has commented yet.