All the other loggers can inherit from the root and use this appender.
其他记录器都是从这个根记录器继承而来,都将使用这个appender。
The Log4j documentation provides ample discussion on writing your own custom appender.
Log4j文档对如何编写定制appender进行了详细的讨论。
To better understand the lifecycle of an appender and some of the decisions, a UML Sequence Diagram may help.
为了更好地理解 appender 的生命周期以及一些决定,可以使用 UML 顺序图(UML Sequence Diagram)。
应用推荐