The public void publish(LogRecord record) method of the Handler provides the important work.
Handler 的 public void publish(LogRecord record) 方法实现了一些重要操作。
The sources of logging calls cannot be determined reliably, so when a LogRecord is published that claims to be from a particular source class and source method, it may be a fabrication.
首先,日志输出的位置是不可靠的。 某一个LogRecord对象中包含的产生日志信息的类名和方法名称都有可能是虚假的。
The new logging probes provider extension can be enabled and configured to publish a LogRecord for each resource meter reading that exceeds a particular threshold defined per log level per meter.
新的日志探测器提供者扩展可以被激活并配置以发布一个LogRecord,用于读取超过特定阀值(每个计量表的每个日志等级都做定义)的每个资源计量表读数。
应用推荐