def define_log_methods( force = false, code = nil )
      return if has_own_level? and !force

      ::Logging::Logger._reentrant_mutex.synchronize do
        ::Logging::Logger.define_log_methods(self)
        ::Logging::Repository.instance.children(name).each do |child|
          child.define_log_methods
        end
      end
      self
    end
def define_log_methods( force = false, code = nil )
      return if has_own_level? and !force

      ::Logging::Logger._reentrant_mutex.synchronize do
        ::Logging::Logger.define_log_methods(self)
        ::Logging::Repository.instance.children(name).each do |child|
          child.define_log_methods
        end
      end
      self
    end
call-seq:
    define_log_methods( force = false )

 Define the logging methods for this logger based on the configured log
 level. If the level is nil, then we will ask our parent for it's level
 and define log levels accordingly. The force flag will skip this
 check.

 Recursively call this method on all our children loggers.