added a logger reference to the application instance
added context return within [addHandler] and [setLevel]