civisanalytics / civis-python

Civis API Python Client
BSD 3-Clause "New" or "Revised" License
34 stars 26 forks source link

[CIVIS-8394] ENH logger for Civis Platform jobs #478

Closed jacksonlee-civis closed 4 months ago

jacksonlee-civis commented 4 months ago

Time for a new feature! This pull request adds a logger configured for Civis Platform jobs, with INFO-level (or below) logging showing up in black on the Civis Platform graphical user inteface, and WARNING-level (or above) logging in red. Internally, we've reinvented this same wheel so many times across codebases, so let's put this basic version in civis-python to help clean up downstream projects.