Added a logging framework.