raise ArgumentError for invalid log level