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 ZLogMain. 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 ZLogZLog. log(String line, boolean keepSame)Logs one line in a log file with the current time as a timestamp.ZLogZLog. 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.ZLogZLog. 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.ZLogZLog. 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.ZLogZLog. 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.