Liblouis User's and Programmer's Manual
7.5 Deprecation of the logging system ¶
As of version 2.6.0 lou_logFile, lou_logPrint and
lou_logEnd are deprecated. They are replaced by a more
powerful, abstract API consisting of lou_registerLogCallback
and lou_setLogLevel.
Usage of lou_logFile, lou_logPrint and lou_logEnd is
discouraged as they may not be part of future releases. Applications using
Liblouis should implement their own logging system.
During the transitional phase, lou_logPrint is registered as default
callback in lou_registerLogCallback. lou_logPrint is overwritten
by the first call to lou_registerLogCallback and reattached when
NULL is set as callback. Note that calling lou_logPrint directly
will not cause an invocation of the registered callback.