zulip/analytics/lib
Greg Price b830b446f1 logging: Reduce `create_logger` to new `log_to_file`.
The name `create_logger` suggests something much bigger than what this
function actually does -- the logger doesn't any more or less exist
after the function is called than before.  Its one real function is to
send logs to a specific file.

So, pull out that logic to an appropriately-named function just for
it.  We already use `logging.getLogger` in a number of places to
simply get a logger by name, and the old `create_logger` callsites can
do the same.
2017-12-12 17:17:08 -08:00
..
__init__.py
counts.py logging: Reduce `create_logger` to new `log_to_file`. 2017-12-12 17:17:08 -08:00
fixtures.py analytics: Use Python 3 syntax for typing (final). 2017-11-22 12:16:59 -08:00
time_utils.py analytics: Wrap some longer lines. 2017-11-17 13:19:48 -08:00