Format docstrings in utils/logger.py