qh_log_linetrace()

A macro that logs a debug line trace message along with the originating filename, function, and line number, using the QH_LOG_SEVERITY_DEBUG2 severity level

Synopsis:

#include <qh/log.h>
#define qh_log_linetrace(msg)

Arguments:

msg
Typically, a short string to insert in the line trace log message. Can be omitted if you don't need to add any specific information.

Library:

qh

Description:

This macro can be called with or without a message. Examples:
qh_log_linetrace(); 
qh_log_linetrace("extra info"); 
qh_log_linetrace(extra_info_string); 

The fmt parameter is omitted from the macro signature to prevent the compile-time warnings that occur when you use the -Wpedantic GCC option and there are no variable arguments in the macro.

Returns:

EOK on success or a standard errno on failure. The errno variable is unmodified.