大家都搜:
日志管理器
1、logman───采运工;伐木工人
1、The problem with this approach is that the LogManager instance uses the system class loader to instantiate classes from the configuration file.───这种方法的问题是 LogManager 实例使用了XiTong类的装载程序从配置文件中对类进行实例化。
2、So, why not extend the LogManager and instantiate one yourself?───既然如此,为什么我们不对LogManager进行扩充,并自己实现一个记录器呢?
3、You can add logging to a file by attaching a Handler to the LogManager, as shown in Listing 5.───可以通过为 LogManager 附加一个 Handler 将日志记录添加到文件,如清单 5 所示。