I think the ```LoggerContext``` is only in log4j2, but I could be wrong http://logging.apache.org/log4j/2.x/log4j-api/apidocs/org/apache/logging/log4j/spi/LoggerContext.html. I'll fully admit I don't know log4j all that well :)

I forgot that ```AbstractLogger``` wasn't in log4j 1 so I'm okay with that.

I guess my concern is if someone provides a bad log4j2 implementation they might not know since it would be swallowed here.