xolox/python-coloredlogs — pull request #1 by drewp (2013-06-04 23:45:31+00:00)
Title: refactor timestamp and name formatting into their own methods

With this otherwise-harmless patch, callers can now subclass ColoredStreamHandler and adjust more of the formatting.

I also turned off the socket.gethostname call when the handler isn't going to be showing the host name.