cli: move logger name comment to docstring

This commit is contained in:
Misty De Méo 2025-02-24 16:28:53 -08:00
parent e141543667
commit c6001d8799

View File

@ -112,8 +112,9 @@ def rethinker(args):
return doublethink.Rethinker(servers.split(","), db)
# Decorates the logger name with call location, if provided
def decorate_logger_name(a, b, event_dict):
"""Decorates the logger name with call location, if provided"""
old_name = event_dict.get("logger_name")
if old_name is None:
return event_dict