Use the type LogCategoryIndex (instead of unsigned int). (dm)
STR_BEGIN() should initialize the string to have a length of 0. (dm)
Help for --log-level should include the log category names. (dm)