added: logging (closes #2)