Top |
This section defines the methods and types that allow the user to configure how the library logging is exposed.
void (*mccr_log_handler_t) (pthread_t thread_id
,const char *message
);
Logging handler.
void
mccr_log_set_handler (mccr_log_handler_t handler
);
Set logging handler.
This method would be usually called once before any other operation with the
library, e.g. even before mccr_init()
.