Uses of Class
org.spiderwiz.zutils.ZLog
Package | Description |
---|---|
org.spiderwiz.core |
Core classes of the Spiderwiz framework.
|
org.spiderwiz.zutils |
Various utility classes used by the Spiderwiz framework.
|
-
Uses of ZLog in org.spiderwiz.core
Methods in org.spiderwiz.core that return ZLog Modifier and Type Method Description static ZLog
Main. getLogger()
Returns an object that lets you print custom log messages to the application's main logging system. -
Uses of ZLog in org.spiderwiz.zutils
Methods in org.spiderwiz.zutils that return ZLog Modifier and Type Method Description ZLog
ZLog. log(String line, boolean keepSame)
Logs one line in a log file with the current time as a timestamp.ZLog
ZLog. logEvent(String fmt, Object... args)
Formats a line using the given format string and arguments, writes it to a log file with the current time as a timestamp, flushes the file and also writes the line to the console.ZLog
ZLog. logException(Throwable ex)
CallslogEvent()
to log an event with the given exception as text, then follows it in the file and on the console by the stack trace of the exception.ZLog
ZLog. logf(String fmt, Object... args)
Formats a line using the given format string and arguments and writes it to a log file with the current time as a timestamp.ZLog
ZLog. logNow(String fmt, Object... args)
Formats a line using the given format string and arguments, writes it to a log file with the current time as a timestamp and flushes the file.