Sets a custom logger for this utility class. If not provided, the default logger is used.
The custom logger to use.