Open topic with navigation
<viz>.setLogLevel
Sets the verbosity of log messages
<viz>.setLogLevel( |
|
level |
) |
|
level
One of the following values:
viz.LOG_ALWAYS
viz.LOG_ERROR
viz.LOG_WARN
viz.LOG_NOTICE
viz.LOG_INFO
viz.LOG_DEBUG
Remarks
Messages with lower priority than the specified level are not logged. The default log level is viz.LOG_NOTICE
Return Value
None
Example
viz.setLogLevel(viz.LOG_ERROR)
viz.logError('ERROR')#Is logged
viz.logWarn('WARN')#Not logged
See also