vendor/gems/logging-0.9.7/lib/logging/repository.rb
# call-seq:
#    children( key )
#
# Returns an array of the children loggers for the logger identified by
# _key_ where _key_ follows the same identification rules described in
# +Repository#[]+. Children are returned regardless of the
# existence of the logger referenced by _key_.
#
call-seq:
children( key )

Returns an array of the children loggers for the logger identified by
_key_ where _key_ follows the same identification rules described in
+Repository#[]+. Children are returned regardless of the
existence of the logger referenced by _key_.
call - seq : children ( key ) Returns an array of the children loggers for the logger identified by _key_ where _key_ follows the same identification rules described in + Repository# [] + . Children are returned regardless of the existence of the logger referenced by _key_ .
def children( parent )
      ary = []
      parent = to_key(parent)
      @h.each_pair do |child,logger|
        next if :root == child
        ary << logger if parent == _parent_name(child)
      end
      return ary.sort
    end
def children ( parent ) ary = [ ] parent = to_key ( parent ) @h . each_pair do | child , logger | next if :root == child ary << logger if parent == _parent_name ( child ) end return ary . sort end
call-seq:
children( key )
call - seq : children ( key )
parent