I was thinking ... from an architecture standpoint, loggerContext should be an implementation detail of $logger and not a parameter here. And for debug, we should possibly have a DebugErrorHandler.