Class LoggingTaskListenerWrapper
- java.lang.Object
-
- hudson.util.AbstractTaskListener
-
- hudson.util.StreamTaskListener
-
- org.jenkinsci.plugins.github.pullrequest.utils.LoggingTaskListenerWrapper
-
- All Implemented Interfaces:
TaskListener
,Closeable
,Serializable
,AutoCloseable
,org.jenkinsci.remoting.SerializableOnlyOverRemoting
public class LoggingTaskListenerWrapper extends StreamTaskListener implements Closeable
- Author:
- lanwen (Merkushev Kirill)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface hudson.model.TaskListener
NULL
-
-
Constructor Summary
Constructors Constructor Description LoggingTaskListenerWrapper(File out, Charset charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(String msg)
void
debug(String format, Object... args)
PrintWriter
error(String msg)
PrintWriter
error(String format, Object... args)
void
info(String msg)
void
info(String format, Object... args)
-
Methods inherited from class hudson.util.StreamTaskListener
close, closeQuietly, fromStderr, fromStdout, getCharset, getLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jenkinsci.remoting.SerializableOnlyOverRemoting
getChannelForSerialization
-
Methods inherited from interface hudson.model.TaskListener
annotate, fatalError, fatalError, hyperlink
-
-
-
-
Constructor Detail
-
LoggingTaskListenerWrapper
public LoggingTaskListenerWrapper(File out, Charset charset) throws IOException
- Throws:
IOException
-
-
Method Detail
-
error
public PrintWriter error(String msg)
- Specified by:
error
in interfaceTaskListener
-
error
public PrintWriter error(String format, Object... args)
- Specified by:
error
in interfaceTaskListener
-
info
public void info(String msg)
-
debug
public void debug(String msg)
-
-