    # File lib/merb-core/logger.rb, line 100
        def set_log(stream = Merb::Config[:log_stream],
          log_level = Merb::Config[:log_level],
          delimiter = Merb::Config[:log_delimiter],
          auto_flush = Merb::Config[:log_auto_flush])

          @buffer                   = []
          @delimiter                = delimiter
          @auto_flush               = auto_flush

          if Levels[log_level]
            @level                  = Levels[log_level]
          else
            @level                  = log_level
          end

          @log                      = stream
          @log.sync                 = true
          @mutex = (@@mutex[@log] ||= Mutex.new)
        end