Simple logging framework.