The Level class defines seven standard log levels, ranging from FINEST (the lowest priority, with the lowest value) to SEVERE (the highest priority, with the highest value).
Level类中定义了7种标准日志级别,从最低的FINEST到最高的SEVERE。
Given this default configuration, you can see that all logging of INFO and above goes to the standard log handler file, error-0.0.log, and that all log entries are written to the trace log file.
采用这种默认配置,可以看到INFO及以上级别的的所有日志记录都包含在标准的日志处理器文件error - 0.0 . log中,而ALL日志条目被写入跟踪日志文件。
It writes lines from its standard input to log files under the control of instructions you enter as command-line arguments.
第二种机制在命令行参数输出的指令控制下,把自己标准输入中的行写入日志文件。
应用推荐