GetLogger

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

Obtains the log implementation class.

Prototype

1
static FlowFuncLogger &GetLogger(FlowFuncLogType type)

Parameters

Parameter

Input/Output

Description

type

Input

Log type. The value is FlowFuncLogType.

enum class FLOW_FUNC_VISIBILITY FlowFuncLogType {

DEBUG_LOG = 0, // Debug log

RUN_LOG = 1 // Run log

};

Returns

Log implementation class

Exception Handling

None

Constraints

None