mco_fh_log

Write a message to the Feed Handler application log.

Prototype

    void	mco_fh_log(/*IN*/ MCO_FH_LOG_LEVEL level,
                      /*INH*/ const char *file,
                      /*IN*/ int line,
                      /*IN*/ const char *msg);

Arguments

level
The log level of the message.
file
The name of the source file emitting the message.
line
The line in the source file.
msg
The log message text.

Description

This function writes a message to the Feed Handler application log.

Return Codes

void
No return value.

Example

    {
        // Record launch timestamp.
        started_ = mco_system_get_current_time();

        mco_fh_log(MCO_FH_LOG_INFO, __FILE__, __LINE__, "Test handler module started.");
        ...
    }