The fail count is used in code to narrow down where a log message is being lost. This is particularly useful because internal error messages in such situations are not able to specify module, file, line, etc. to help locate the offending instruction. It can also be used at process shutdown to simply check whether or not any problems occurred. Note that this is per process per module like all other internal variables. See PBGetFailCount. for further information.