Add logging library. Start using it in edit