is_log_enable
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Checks whether logs of the corresponding level and type are enabled.
Prototype
1 | is_log_enable(self, log_type: fw.FlowFuncLogType, log_level: fw.FlowFuncLogLevel) -> bool |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
log_type |
Input |
Log type. The values are as follows:
|
log_level |
Input |
Log level. The values are as follows:
|
Returns
- True: enabled
- False: disabled
Exception Handling
None
Constraints
None
Parent topic: UDF log APIs