Move all the logging functions into the Logging module.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>