Introduce a new flag (`-logthreadnames`) which allows toggling of this behavior.
On platforms supporting thread_local, log lines can be prefixed with the name of the thread that caused the log. To enable this behavior, use -logthreadnames=1.
thread_local
-logthreadnames=1