18F / pulse

How the federal .gov domain space is doing at best practices and policies.
Other
94 stars 56 forks source link

Add logger module #776

Closed buckley-w-david closed 6 years ago

buckley-w-david commented 6 years ago

This PR introduces a very basic logging module that CDS has used on another project. Actually using this module is in a later, separate, PR.

Fairly simple addition, a get_logger function that just wraps logging. getLogger with some formatting, and a function to extract exception messages from chained exceptions.

konklone commented 6 years ago

:+1: It'd be great to see a screenshot or paste of the output in a future PR that makes use of it.