hudson.plugins.analysis.util
Class NullLogger

java.lang.Object
  extended by hudson.plugins.analysis.util.PluginLogger
      extended by hudson.plugins.analysis.util.NullLogger

public final class NullLogger
extends PluginLogger

Null logger.

Author:
Ulli Hafner

Constructor Summary
NullLogger()
          Creates a new instance of NullLogger.
 
Method Summary
 void log(String message)
          Logs the specified message.
 void log(Throwable throwable)
          Logs the specified throwable.
 void logLines(String lines)
          Logs several lines that already contain a prefix.
 void printStackTrace(Throwable throwable)
          Logs the stack trace of the throwable.
 
Methods inherited from class hudson.plugins.analysis.util.PluginLogger
setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullLogger

public NullLogger()
Creates a new instance of NullLogger.

Method Detail

log

public void log(String message)
Description copied from class: PluginLogger
Logs the specified message.

Overrides:
log in class PluginLogger
Parameters:
message - the message

log

public void log(Throwable throwable)
Description copied from class: PluginLogger
Logs the specified throwable.

Overrides:
log in class PluginLogger
Parameters:
throwable - the throwable

printStackTrace

public void printStackTrace(Throwable throwable)
Description copied from class: PluginLogger
Logs the stack trace of the throwable.

Overrides:
printStackTrace in class PluginLogger
Parameters:
throwable - the throwable

logLines

public void logLines(String lines)
Description copied from class: PluginLogger
Logs several lines that already contain a prefix.

Overrides:
logLines in class PluginLogger
Parameters:
lines - the lines to log


Copyright © 2004-2012 Hudson. All Rights Reserved.