Add log helper

This adds a simple log helper