IsLogEnable

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

Checks whether logs of the corresponding level and type are enabled.

Prototype

1
virtual bool IsLogEnable(FlowFuncLogLevel level) = 0

Command-Line Options

Parameter

Input/Output

Description

level

Input

Log level. The value is FlowFuncLogLevel.

1
2
3
4
5
6
enum class FLOW_FUNC_VISIBILITY FlowFuncLogLevel {
DEBUG = 0,
INFO = 1,
WARN = 2,
ERROR = 3
};

Returns

Whether the log level can be recorded.

Troubleshooting

None

Constraints

None