lq-text: LQT_Trace

API void LQT_Trace (t_TraceFlag Flags, char *Format, ...)

Purpose

Prints diagnostic messages. The Flags argument must be one or more flags taken from <lqtrace.h> and combined with bitwise or. If one of more of the given Flags is set in the current lq-text trace flags, the remainder of the arguments are passed to fprintf

For efficiency, it may be best to use LQT_TraceĀ­FlagsĀ­Set first to determine whether to call LQT_Trace, as the former is likely to be implemented as a short macro in <lqtrace.h>, but currently LQT_Trace cannot be so implemented.

Each line of trace output is preceded by the current program name, the word `trace', and a string representation of one or more of those flags in the Flags argument to LQT_Trace which are set in the current lqtext trace flags.

See Also: