hudson.logging
Class LogRecorder.Target
java.lang.Object
hudson.logging.LogRecorder.Target
- Enclosing class:
- LogRecorder
public static final class LogRecorder.Target
- extends Object
Logger that this recorder monitors, and its log level.
Just a pair of (logger name,level) with convenience methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public final String name
LogRecorder.Target
public LogRecorder.Target(String name,
Level level)
LogRecorder.Target
public LogRecorder.Target(String name,
int level)
LogRecorder.Target
@DataBoundConstructor
public LogRecorder.Target(String name,
String level)
getLevel
public Level getLevel()
includes
public boolean includes(LogRecord r)
getLogger
public Logger getLogger()
enable
public void enable()
- Makes sure that the logger passes through messages at the correct level to us.
Copyright © 2004-2013. All Rights Reserved.