Updated on 2023-06-15 GMT+08:00

Trace Logs

This section describes logs of the Trace level. The log usage is similar to that of printf.

API Calling

void hilens::Trace(const char * fmt, ... )

Parameter Description

Table 1 Parameters

Parameter

Description

fmt

A string that can contain embedded formatting tags that can be replaced by the values specified in the subsequent additional parameters and formatted as required. A log record can contain a maximum of 255 characters.

... (Additional parameters)

Depending on the fmt string, the function may require a series of additional parameters. Each parameter contains a value to be inserted and replaces each % tag specified in the fmt parameter. The number of parameters must be the same as the number of % tags. The usages of the additional parameters are similar to that of printf. For example, hilens::Trace (The character string is %s \n", str).

Return Value

None