Namespace: webdriver.loggingView Sourceclass PreferencesDescribes the log preferences for a WebDriver session.Instance MethodssetLevel(type, level)code »Sets the desired logging level for a particular log type.ParameterstypestringThe log type.level{name: string, value: number}The desired log level.toJSON(arg0)code »Converts this instance to its JSON representation.Parametersarg0string=ReturnsObject<string, string>The JSON representation of this set of preferences.