|
Adds a callback to be notified of log messages.
- Parameters
-
priority | The priority level(s) of messages to be delivered to the callback (multiple DOFLogLevel enumerations can be ORed together to indicate the levels desired). |
callback | The 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. |
|