Fix function_exists in bootup.logger.php

Apparently function_exists() can return true before the function has actually been defined, if it's in the same file at top-level block scope.