Sets a custom logger for the library to use. By default, the library uses an empty logger that doesn't log anything.
The logger to use