Device logs

I’m playing with writing a custom Integration and was wondering how to write to the created device log