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

Error Logs

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

API Calling

void hilens::Error(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. For example, hilens::Error (The character string is %s \n", str).

Return Value

None