Add support for disabling the logging shorthand functions.