The lq-text tracing mechanism may seem a little complex at first, because
it provides a rich API.
The functions bear close investigation, as they are used extensively
within all of the lq-text code, and are designed to be very efficient.
You can turn on or off tracing on any of a large number of features separately, using symbolic constants or string names.
The LQT_Trace function has an interface similar to printf, and is thus very straight forward to use.
The macro LQT_TraceĀFlagsĀSet is very efficient and can be used in a test to surround code that is only used when debugging or when providing more verbose progress messages than usual.
You can turn on or off tracing on any of a large number of features separately, using symbolic constants or string names.
The LQT_Trace function has an interface similar to printf, and is thus very straight forward to use.
The macro LQT_TraceĀFlagsĀSet is very efficient and can be used in a test to surround code that is only used when debugging or when providing more verbose progress messages than usual.