Thanks for logbook! After dealing with the pain of python's stdlib logging for years, this library is such a relief! Never want to go back ;)
Attached is a small patch to allow using TLS without explicitly defining keyfile/certfile. I didn't find any unit tests testing this behavior. Also fixed a small typo.
Added venv files to gitignore
Updated MailHandler to allow using TLS without having a keyfile/certfile
Hmm this is of course not really backwards compatible with people using tls with smtp in the old way. Let me know what you think and I could fix backward compatibility.
Updated logbook to use unittest2 module for unittesting (if python < …
Moved win32 nt logger to its own test case using unittest2 skip to ch…
…eck for platform
Improved the assertionError returned when the wrong ContextObject is …
…popped from a stack
Changed level of default_handler to error. IMHO we only want the defa…
…ult_handler to log to stderr when an error occurs. If I want to see more information, then I will register my own handler.
Added python 3.2 to tox
Fixed unittest imports and unittest discovery
Fixed: Literal block expected; none found in doctests
Hello @shanx, I find your patch interesting, could you update it a little bit so that it merges the current codebase and guarantee backwards compatibility?