Update logger.py

A swear word was removed from the comments on line 228 in the format function. Please keep all future code free of profanity.