Adds logging using proper logging library.