[Isn't this already included in the loging library?](http://hg.python.org/cpython/file/2.7/Lib/logging/__init__.py#l128)