Logging replacement for Python
