
hudson.plugins.analysis.util.NullLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of analysis-core Show documentation
Show all versions of analysis-core Show documentation
This plug-in provides utilities for the static code analysis plug-ins.
The newest version!
package hudson.plugins.analysis.util;
/**
* Null logger.
*
* @author Ulli Hafner
*/
public final class NullLogger extends PluginLogger {
/**
* Creates a new instance of {@link NullLogger}.
*/
public NullLogger() {
super("null");
}
@Override
public void log(final String message) {
// do not log
}
@Override
public void log(final Throwable throwable) {
// do not log
}
@Override
public void printStackTrace(final Throwable throwable) {
// do not log
}
@Override
public void logLines(final String lines) {
// do not log
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy