log4j在使用logger.error()方法时是怎么样转到EnhancedPatternLayout类的format(LoggingEvent event)方法里面的,他们之间是怎么样建立关系的,O(∩_∩)O谢谢!