public class Log extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG |
static int |
DEBUG_DETAILED |
static int |
DEBUG_SPECIAL |
static int |
ERROR |
static int |
IMPORTANT |
static int |
NONE |
static int |
NORMAL |
static int |
WARNING |
| Constructor and Description |
|---|
Log() |
| Modifier and Type | Method and Description |
|---|---|
static void |
error(String msg) |
static void |
error(String msg,
boolean logToFile) |
static int |
getLogLevel() |
static boolean |
getShorten() |
static boolean |
logIt(int loglevel) |
static void |
msg(org.fusesource.jansi.Ansi msg,
int loglevel) |
static void |
msg(String msg,
int loglevel) |
static void |
reset() |
static void |
setLogLevel(int loglevel) |
static void |
setPrefixEnabled(boolean value) |
static void |
setShorten(boolean shorten) |
static void |
warning(String msg) |
public static final int NONE
public static final int IMPORTANT
public static final int ERROR
public static final int DEBUG_SPECIAL
public static final int WARNING
public static final int NORMAL
public static final int DEBUG
public static final int DEBUG_DETAILED
public static void msg(String msg, int loglevel)
public static void msg(org.fusesource.jansi.Ansi msg,
int loglevel)
public static void warning(String msg)
public static void error(String msg)
public static void error(String msg, boolean logToFile)
public static void setLogLevel(int loglevel)
public static boolean logIt(int loglevel)
public static void reset()
public static void setPrefixEnabled(boolean value)
public static boolean getShorten()
public static void setShorten(boolean shorten)
public static int getLogLevel()
Copyright © 2018. All rights reserved.