Logging function controls

The logging function controls consist of a function prototype and a method for setting the logging function to use.