public class Log
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
LOG_LEVEL_DEBUG |
static int |
LOG_LEVEL_ERROR |
static int |
LOG_LEVEL_INFO |
static int |
LOG_LEVEL_NONE |
static java.lang.String[] |
LOG_LEVELS |
Modifier and Type | Method and Description |
---|---|
static void |
addListener(LogListener ll) |
static void |
addListener(LogListener ll,
boolean useInvokeLater) |
static void |
close() |
static void |
debug(java.lang.String msg) |
static void |
debug(java.lang.String msg,
java.lang.String from) |
static void |
error(java.lang.String msg) |
static void |
error(java.lang.String msg,
java.lang.Exception e) |
static void |
error(java.lang.String msg,
java.lang.Exception e,
java.lang.String from) |
static void |
info(java.lang.String msg) |
static void |
info(java.lang.String msg,
java.lang.String from) |
static Log |
makeLog() |
static void |
printTrace() |
static void |
removeListener(LogListener ll) |
static void |
setConsoleOutput(java.io.PrintStream out) |
static void |
setFileOutput(java.io.PrintWriter out) |
static void |
setLogLevel(int level) |
static void |
setLogLevel(java.lang.String level) |
static void |
updateListeners() |
public static final int LOG_LEVEL_NONE
public static final int LOG_LEVEL_ERROR
public static final int LOG_LEVEL_INFO
public static final int LOG_LEVEL_DEBUG
public static final java.lang.String[] LOG_LEVELS
public static Log makeLog()
public static void setConsoleOutput(java.io.PrintStream out)
public static void setFileOutput(java.io.PrintWriter out)
public static void setLogLevel(java.lang.String level)
public static void setLogLevel(int level)
public static void printTrace()
public static void updateListeners()
public static void addListener(LogListener ll)
public static void addListener(LogListener ll, boolean useInvokeLater)
public static void removeListener(LogListener ll)
public static void close()
public static void info(java.lang.String msg)
public static void info(java.lang.String msg, java.lang.String from)
public static void debug(java.lang.String msg)
public static void debug(java.lang.String msg, java.lang.String from)
public static void error(java.lang.String msg)
public static void error(java.lang.String msg, java.lang.Exception e)
public static void error(java.lang.String msg, java.lang.Exception e, java.lang.String from)