liblouis: lou_registerLogCallback

1 
1 6.13 lou_registerLogCallback
1 ============================
1 
1      typedef void (*logcallback)(int level, const char *message);
1      void lou_registerLogCallback(logcallback callback);
1 
1    This function can be used to register a custom logging callback.  The
1 callback must take a single argument, the message string.  By default
1 log messages are printed to stderr, or if a filename was specified with
1 'lou_logFile' then messages are logged to that file.
1 'lou_registerLogCallback' overrides the default callback.  Passing
1 'NULL' resets to the default callback.
1