Logging-feature. Closes #4