def logger(tag)
      # Try to reuse existing logger
      @loggers[tag] ||= new_logger(tag)

      # Create new logger if old one is closed
      if @loggers[tag].closed?
        @loggers[tag] = new_logger(tag)
      end

      @loggers[tag]
    end
def logger(tag)
      # Try to reuse existing logger
      @loggers[tag] ||= new_logger(tag)

      # Create new logger if old one is closed
      if @loggers[tag].closed?
        @loggers[tag] = new_logger(tag)
      end

      @loggers[tag]
    end
Get logger for given tag