adds a debug log statement