public class FCLog extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG |
static int |
FATAL |
static int |
INFO |
static int |
SEVER |
static int |
WARN |
| Constructor and Description |
|---|
FCLog() |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String msg) |
void |
debug(String msg,
Throwable e) |
void |
debug(Throwable e) |
void |
fatal(String msg) |
void |
fatal(String msg,
Throwable e) |
static FCLog |
get() |
int |
getLogLevel() |
void |
info(String msg) |
void |
info(String msg,
Throwable e) |
void |
info(Throwable e) |
static void |
log(String s) |
static void |
log(String s,
Throwable th) |
static void |
log(Throwable th) |
void |
net(String s)
called for RUDP low level logging (retransmission etc)
|
protected void |
out(int level,
String msg,
Throwable th) |
static void |
setInstance(FCLog instance) |
void |
setLogLevel(int logLevel) |
void |
severe(String msg,
Throwable e) |
void |
warn(String msg) |
void |
warn(String msg,
Throwable e) |
void |
warn(Throwable e) |
public static final int DEBUG
public static final int INFO
public static final int WARN
public static final int SEVER
public static final int FATAL
public static FCLog get()
public static void setInstance(FCLog instance)
public static void log(String s)
public static void log(Throwable th)
public int getLogLevel()
public void setLogLevel(int logLevel)
public void info(String msg)
public void info(Throwable e)
public void warn(String msg)
public void warn(Throwable e)
public void fatal(String msg)
public void debug(Throwable e)
public void debug(String msg)
public void net(String s)
s - Copyright © 2014. All rights reserved.