otLoggingSetLevel() function
Sets the log level.
Return value
OT_ERROR_NONE Successfully updated log level. OT_ERROR_INVALID_ARGS Log level value is invalid.
Notes
This function requires `OPENTHREAD_CONFIG_LOG_LEVEL_DYNAMIC_ENABLE=1`.
Examples
otLoggingSetLevel() is referenced by 5 libraries and example projects: