set Logger
Initializes the logging inside Core Crypto. Not required to be called and by default there will be no logging.
Parameters
logger
a callback to implement the platform specific logging. It will receive the string with the log text from Core Crypto