IsLogEnable
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Checks whether logs of the corresponding level and type are enabled.
Prototype
1 | virtual bool IsLogEnable(FlowFuncLogLevel level) = 0 |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
level |
Input |
Log level. The value is FlowFuncLogLevel. enum class FLOW_FUNC_VISIBILITY FlowFuncLogLevel { DEBUG = 0, INFO = 1, WARN = 2, ERROR = 3 }; |
Returns
Whether the log level can be recorded
Exception Handling
None
Constraints
None
Parent topic: UDF Log APIs