AST/Util.pm: logCroak class method