此时,需要注意记录器可能被设置为将输出写入到一个单独文件,从而简化调试。
At this point, it's worth mentioning that the logger might be set to write output into a separate file to simplify debugging.
跟踪字符串提供了一种语言用于精确地选择出您希望的输出,废弃其他日志记录器消息。
Trace strings provide a language for selecting exactly the output you want, discarding other logger messages.
这个模拟记录器将它的输出发送到System . out而不是任何已定义的log4j输出器。
This mock logger sends its output to System.out instead of to any of the defined log4j appenders.
应用推荐