public class BugReporter
extends java.lang.Object
| Constructor and Description |
|---|
BugReporter() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.log4j.Appender |
getAppender()
get the log4J appender associated to the bug reporter
|
static void |
init(java.lang.String applicationname) |
static void |
saveBugReport(java.io.File fileInWhichSaveTheBugReport)
Save the bug report in an external file
|
static void |
saveBugReport(java.io.OutputStream fileInWhichSaveTheBugReport) |
static void |
sendBugReport()
Send the log file to the developper using Http access.
|
public static void init(java.lang.String applicationname)
throws java.lang.Exception
java.lang.Exceptionpublic static org.apache.log4j.Appender getAppender()
throws java.lang.Exception
java.lang.Exceptionpublic static void sendBugReport()
public static void saveBugReport(java.io.File fileInWhichSaveTheBugReport)
throws java.lang.Exception
fileInWhichSaveTheBugReport - java.lang.Exceptionpublic static void saveBugReport(java.io.OutputStream fileInWhichSaveTheBugReport)
throws java.lang.Exception
java.lang.Exception