updating the scope of the logging library in the example