|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectosnap.api.functionality.LogWriter
public class LogWriter

Software using the ModuleAPI can use this class as an easy way to create and append to logfiles.
| Constructor Summary | |
|---|---|
LogWriter()
|
|
| Method Summary | |
|---|---|
static void |
logEntry(java.lang.String fileName,
java.lang.String message)
Appends a message to a log file. |
static void |
stackTraceMessage(java.lang.String fileName,
java.lang.Exception exception)
Appends a message to a stacktrace log file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogWriter()
| Method Detail |
|---|
public static void logEntry(java.lang.String fileName,
java.lang.String message)
fileName - Name of the log filemessage - Message to append to the logfile
public static void stackTraceMessage(java.lang.String fileName,
java.lang.Exception exception)
fileName - Name of the stacktrace log fileexception - Exception to log
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||