The FFI code should expose an interface to override the builtin logger.
The FFI code should expose an interface to override the builtin logger.