setLoggingOptions method
Sets the logging options.
NOTE: use of this command is not recommended. Use
SetV2LoggingOptions
instead.
May throw InternalException. May throw InvalidRequestException. May throw ServiceUnavailableException.
Parameter loggingOptionsPayload
:
The logging options payload.
Implementation
Future<void> setLoggingOptions({
required LoggingOptionsPayload loggingOptionsPayload,
}) async {
ArgumentError.checkNotNull(loggingOptionsPayload, 'loggingOptionsPayload');
await _protocol.send(
payload: loggingOptionsPayload,
method: 'POST',
requestUri: '/loggingOptions',
exceptionFnMap: _exceptionFns,
);
}