Class Log4r::Log4rTools
In: /home/cepheus/projects/prep/log4r-1.0.1/src/log4r/base.rb
Parent: Object
Some common functions
Methods
comma_split    decode_bool    valid_level?    validate_level   
Public Class methods
validate_level(level, depth=0)
Raises ArgumentError if level argument is an invalid level. Depth specifies how many trace entries to remove.
valid_level?(lev)
decode_bool(hash, symbol, default)
Shortcut for decoding 'true', 'false', true, false or nil into a bool from a hash parameter. E.g., it looks for true/false values for the keys 'symbol' and :symbol.
comma_split(string)
Splits comma-delimited lists with arbitrary \s padding