Updated on 2022-02-22 GMT+08:00

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