Initalises the master logging object. This subroutine must be called before the master logger is used. It should only be called once.