public class FCLog extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTER |
static int |
CLUSTER_LISTENER |
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 |
cluster(String msg)
log to cluster wide log (requires FCMemberShip topic service installed)
|
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) |
void |
internal_clusterListenerLog(String msg)
used by listening node for clusterwide logging, don't use directly
|
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 final int CLUSTER
public static final int CLUSTER_LISTENER
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 internal_clusterListenerLog(String msg)
msg - public void cluster(String msg)
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.