org.jvnet.hudson.plugins.backup.utils
Class BackupLogger
java.lang.Object
org.jvnet.hudson.plugins.backup.utils.BackupLogger
public class BackupLogger
- extends java.lang.Object
This class is used to change the verbosity of the backup plugin.
This apply to the backup log only, not on the hudson console logger
- Author:
- vsellier
|
Constructor Summary |
BackupLogger(java.lang.String logFileName,
boolean debug)
|
|
Method Summary |
void |
close()
|
void |
debug(java.lang.String message)
|
void |
error(java.lang.String message)
|
java.io.PrintWriter |
getWriter()
|
void |
info(java.lang.String message)
|
void |
warn(java.lang.String message)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackupLogger
public BackupLogger(java.lang.String logFileName,
boolean debug)
throws java.io.IOException
- Throws:
java.io.IOException
debug
public void debug(java.lang.String message)
warn
public void warn(java.lang.String message)
info
public void info(java.lang.String message)
error
public void error(java.lang.String message)
getWriter
public java.io.PrintWriter getWriter()
close
public void close()
Copyright © 2009. All Rights Reserved.