Package 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
disable()
void
enable()
Makes sure that the logger passes through messages at the correct level to us.boolean
equals(Object o)
Level
getLevel()
Logger
getLogger()
String
getName()
int
hashCode()
boolean
includes(LogRecord r)
Deprecated.Boolean
matches(LogRecord r)
-
-
-
Field Detail
-
name
public final String name
-
-
Method Detail
-
getLevel
public Level getLevel()
-
getName
public String getName()
-
includes
@Deprecated public boolean includes(LogRecord r)
Deprecated.
-
getLogger
public Logger getLogger()
-
enable
public void enable()
Makes sure that the logger passes through messages at the correct level to us.
-
disable
public void disable()
-
-