public class Log extends Actor<Log>
| Modifier and Type | Class and Description |
|---|---|
static interface |
Log.LogWrapper |
Actor.ActorReport| Modifier and Type | Field and Description |
|---|---|
static int |
DEBUG |
Log.LogWrapper |
defaultLogger |
static int |
ERROR |
static int |
INFO |
static Log |
Lg |
static int |
WARN |
__cbQueue, __clientConnection, __connections, __currentDispatcher, __mailbox, __mailboxCapacity, __mbCapacity, __publishTarget, __remoteId, __scheduler, __self, __stopped, __ticketMachine, connection, sender, userData, zzRoutingGCEnabled, zzServerMsgCallbackCONT, DEFAULT_TIMOUT, defaultScheduler, delayedCalls, exec, instance, MAX_EXTERNAL_THREADS_POOL_SIZE, version| Constructor and Description |
|---|
Log() |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object source,
String msg) |
static void |
Debug(Object source,
String msg) |
static void |
Debug(Object source,
Throwable th) |
static void |
Debug(String msg) |
void |
debugLong(Object source,
Throwable th,
String msg) |
static void |
Error(Object source,
String s) |
static void |
Error(Object source,
Throwable th) |
void |
error(Object source,
Throwable ex,
String msg) |
static void |
Error(Object source,
Throwable th,
String s) |
int |
getSeverity() |
void |
info(Object source,
String msg) |
static void |
Info(Object source,
String msg) |
static void |
Info(Object source,
Throwable ex) |
static void |
Info(Object source,
Throwable t,
String msg) |
void |
infoLong(Object source,
Throwable ex,
String msg) |
void |
msg(Thread t,
int severity,
Object source,
Throwable ex,
String msg) |
void |
resetToSysout() |
protected Log |
self()
use this to call public methods using actor-dispatch instead of direct in-thread call.
|
static int |
setLevel(int level)
Sets the logging level to the specified value.
|
void |
setLogWrapper(Log.LogWrapper delegate) |
void |
setSeverity(int severity) |
static void |
SetSynchronous() |
void |
warn(Object source,
String msg) |
static void |
Warn(Object source,
String msg) |
static void |
Warn(Object source,
Throwable ex) |
static void |
Warn(Object source,
Throwable t,
String msg) |
void |
warnLong(Object source,
Throwable ex,
String msg) |
__addDeadLetter, __addRemoteConnection, __addStopHandler, __dispatchRemoteCall, __enqueueCall, __getCachedMethod, __removeRemoteConnection, __stop, __stopImpl, __submit, ask, askMsg, asyncstop, checkThread, close, closeCurrentClient, current, cyclic, debounce, delayed, execInThreadPool, execute, getActor, getActorRef, getCallbackSize, getConnections, getCurrentDispatcher, getFactory, getMailboxSize, getQSizes, getReport, getScheduler, getSubMonitorables, getUntypedRef, hasStopped, inside, inThread, isCallbackQPressured, isEmpty, isMailboxPressured, isProxy, isPublished, isRemote, isStopped, ping, router$clientPing, serialOn, setServerMsgCallback, stop, stopSafeClose, tell, tellMsg, unpublish, zzkrouterLostClient, zzRoutingRefGCAddDeadLetter, all, all, all, allMapped, AsActor, AsActor, AsActor, AsActor, AsUntypedActor, awaitAll, awaitAll, awaitAll, awaitAll, complete, complete, DeadLetters, flow, InThread, isComplete, isCont, isError, isErrorOrComplete, isResult, isTimeout, promise, race, race, reject, resolve, resolve, stream, SubmitDelayed, yield, yield, yieldCallbackspublic static final int DEBUG
public static final int INFO
public static final int WARN
public static final int ERROR
public static Log Lg
public Log.LogWrapper defaultLogger
public static void SetSynchronous()
public static int setLevel(int level)
level - = Log.DEBUG | Log.INFO | Log.WARN | Log.ERRORpublic static void Debug(String msg)
public void setLogWrapper(Log.LogWrapper delegate)
public void setSeverity(int severity)
protected Log self()
Actorpublic int getSeverity()
public void resetToSysout()
Copyright © 2020. All rights reserved.