hrydgard/ppsspp — pull request #940 by unknownbrackets (2013-03-11 06:08:27+00:00)
Title: Add a VERBOSE logging level + show thread name in log

I wanted to go with NOISE but N was already taken. V works too.

This does add a bit of coupling between Core and Common - Common publishes a `const char *` that a consumer can update to set the current thread id. Personally, I think having the thread name in the log is worth it.

There may also be a small penalty for getting the thread name on thread switching, but I think I minimized it successfully.

I've also marked some things as VERBOSE. Only a few, and either common ones (like lwmutexes, etc.) that appear very stable, or or things that can be easily inferred from the next log line (like `sceDisplayWaitVblank()`.)

And lastly, it chops off the path from the filename in debug to make it shorter.

The main point of all this is to make debug logs more readable so they can be scanned more easily/quickly.

-[Unknown]