Provided the ability to override the logging function, so logging can be customised or turned off.
Merge remote-tracking branch 'origin/master'