1.2.13.4.2 SRV_LOG_REPORT_Message Function

C

void SRV_LOG_REPORT_Message_With_Code(
    SRV_LOG_REPORT_LEVEL logLevel, 
    const char *info, ...
);

Summary

Reports log information.

Description

This function reports log information.

Precondition

The SYS_DEBUG initialization routines should be called before calling this routine (in "SYS_Initialize").

Parameters

ParamDescription
logLevelLog priority level
infoFormatted description of the information

Returns

None.

Example

SRV_LOG_REPORT_Message(SRV_LOG_REPORT_DEBUG, "No address\r\n");

Remarks

The function does not add a newline after printing the information.