hudson.logging
Class LogRecorder.Target

java.lang.Object
  extended by 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.


Field Summary
 String name
           
 
Constructor Summary
LogRecorder.Target(String name, int level)
           
LogRecorder.Target(String name, Level level)
           
LogRecorder.Target(String name, String level)
           
 
Method Summary
 void enable()
          Makes sure that the logger passes through messages at the correct level to us.
 Level getLevel()
           
 Logger getLogger()
           
 boolean includes(LogRecord r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final String name
Constructor Detail

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)
Method Detail

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.