Returns:
Returns a logger instance of the given class, with the given instance name.
the class to instantiate
the instance name
a logger instance