Function getLogger

Gets the logger registered using setLogger