logger.error function

Python-style logging statements