SIGN IN SIGN UP

Strip control & ANSI sequences from logs && fix #1961

Sanitize formatted log messages by removing control characters and ANSI escape sequences when creating the message. Consolidates ANSI/control stripping into the initial message and removes the redundant replace in the file-only logging branch to prevent control/ANSI codes from polluting console or file logs.
手瓜一十雪 committed
49ea8d56246445428565ce08624dc39e4631281b
Parent: fe7a1f0