This trait is used to provide a callback mechanism to hook up the respective platform logging system.
Core Crypto will call this method whenever it needs to log a message.