OpenDOF Project
boolean DOFLog_AddListener ( DOFLogLevel  priority,
DOFLogListener  callback 
)

Adds a callback to be notified of log messages.

Parameters
priorityThe priority level(s) of messages to be delivered to the callback (multiple DOFLogLevel enumerations can be ORed together to indicate the levels desired).
callbackThe callback to add. This should not be NULL.
Return values
Non-zero(TRUE) if the listener was added.
Exceptions
Zero(FALSE) if the listener could not be added, illegal arguments were detected, or the listener has already been added.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22