Hi Owain,
You can refer a few of the samples that come along with SDK. In those examples you can see the option where you can enable the logging.
Example: Logger.Log(TraceLevel.Critical, e.Message);
You can use the above in the catch section of the code.
Regards,
D