IsLogEnable

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

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