未验证 提交 7e3e5606 编写于 作者: D Daniel Beck 提交者: GitHub

Merge pull request #3905 from jsoref/logger-help

help: clean up LogRecorder.logger
<div>
Specify a set of logger names and the corresponding log levels that
this log recorder will collect. For example, if you specify
<tt>hudson.model.Hudson</tt> and <tt>info</tt>, any logs recorded
for <tt>hudson.model.Hudson</tt> or its descendants with the log level
info or above will show up in this log recorder, unless a more specific
logger with higher log level is also specific.
<tt>jenkins.model</tt> and <tt>INFO</tt> then any events triggered
for <tt>jenkins.model</tt> or its descendents (e.g.
<tt>jenkins.model.Jenkins</tt>) with the log level INFO or above will
show up in this log recorder.
<p>
If you have multiple entries, a log entry will the most specific one will be collected.
If you have multiple entries, a log message will only be recorded if
the most specific matching logger's level would collect it.
<p>
Also see <a href="https://jenkins.io/redirect/logging">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册