Sets a logging callback function to query all output posted by the model object. Can be set after a model was created.
Arguments:
logCallback: The logging callback function.