Can this be made private? Also curious about this function's true purpose... Why not just use `addError()` or `addInfo()` instead of having this function (and the debug flag) at all?