def setup_default_logger(logger)
      progname = 'Expectacle'
      @logger = if logger == :syslog
                  Syslog::Logger.new(progname)
                else
                  default_io_logger(logger, progname)
                end
      @logger.level = Logger::INFO
      @logger.formatter = proc do |severity, datetime, pname, msg|
        "#{datetime} #{pname} [#{severity}] #{msg}\n"
      end
    end
def setup_default_logger(logger)
      progname = 'Expectacle'
      @logger = if logger == :syslog
                  Syslog::Logger.new(progname)
                else
                  default_io_logger(logger, progname)
                end
      @logger.level = Logger::INFO
      @logger.formatter = proc do |severity, datetime, pname, msg|
        "#{datetime} #{pname} [#{severity}] #{msg}\n"
      end
    end
Setup default logger (select IO or Syslog logger)
 @param logger [Symbol] Syslog logger or not