Adding a simple Log API