public class Logger extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CONFIG |
static int |
DEBUG |
static int |
ERROR |
static int |
INFO |
static String[] |
levelNames |
static int |
WARNING |
Modifier and Type | Method and Description |
---|---|
void |
config(String msg) |
void |
debug(String msg) |
void |
error(String msg) |
static Logger |
getLogger() |
void |
info(String msg) |
void |
log(int messageLevel,
String msg) |
void |
setLevel(int level) |
void |
warning(String msg) |
public static final int ERROR
public static final int WARNING
public static final int INFO
public static final int CONFIG
public static final int DEBUG
public static final String[] levelNames
public static Logger getLogger()
public void log(int messageLevel, String msg)
public void debug(String msg)
public void config(String msg)
public void info(String msg)
public void warning(String msg)
public void error(String msg)
public void setLevel(int level)
Copyright © 2015. All rights reserved.