Setting Log Levels
This API is used to set log levels. By default, only logs of the Info level or higher are printed. Log levels are: Trace > Debug > Info > Warning > Error > Fatal.
- API calling
hilens.set_log_level(level)
- Parameter description
Table 1 Parameters Parameter
Mandatory
Type
Description
level
Yes
Enumeration
hilens.TRACE: logs of the Trace level or higher
hilens.DEBUG: logs of the Debug level or higher
hilens.INFO: logs of the Info level or higher
hilens.WARNING: logs of the Warning level or higher
hilens.ERROR: logs of the Error level or higher
hilens.FATAL: logs of the Fatal level
- Return value
None
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot