Custom logging
A new option to pass a custom logging function to the client.
If no logger specified the client will write log messages to console, default logging level is info.
A new option to pass a custom logging function to the client.
If no logger specified the client will write log messages to console, default logging level is info.