Set custom logger.

Set log callback function that currently is no-op.