-
public interface ILogger日志记录器的基本定义
-
-
Method Summary
Modifier and Type Method Description abstract ILoggeroffset(Integer methodOffset)Set a one-time method trace offset for use on the next logging call. abstract ILoggertag(String tag)Set a one-time tag for use on the next logging call. abstract Unitv(String message, Object args)Log a verbose message with optional format args. abstract Unitv(Throwable t, String message, Object args)Log a verbose exception and a message with optional format args. abstract Unitv(Throwable t)Log a verbose exception. abstract Unitd(String message, Object args)Log a debug message with optional format args. abstract Unitd(Throwable t, String message, Object args)Log a debug exception and a message with optional format args. abstract Unitd(Throwable t)Log a debug exception. abstract Uniti(String message, Object args)Log an info message with optional format args. abstract Uniti(Throwable t, String message, Object args)Log an info exception and a message with optional format args. abstract Uniti(Throwable t)Log an info exception. abstract Unitw(String message, Object args)Log a warning message with optional format args. abstract Unitw(Throwable t, String message, Object args)Log a warning exception and a message with optional format args. abstract Unitw(Throwable t)Log a warning exception. abstract Unite(String message, Object args)Log an error message with optional format args. abstract Unite(Throwable t, String message, Object args)Log an error exception and a message with optional format args. abstract Unite(Throwable t)Log an error exception. abstract Unitwtf(String message, Object args)Log an assert message with optional format args. abstract Unitwtf(Throwable t, String message, Object args)Log an assert exception and a message with optional format args. abstract Unitwtf(Throwable t)Log an assert exception. abstract Unitlog(Integer priority, String message)Log at priorityan message.abstract Unitlog(Integer priority, Throwable t, String message)Log at priorityan exception and a message.abstract Unitlog(Integer priority, Throwable t)Log at priorityan exception.-
-
Method Detail
-
offset
abstract ILogger offset(Integer methodOffset)
Set a one-time method trace offset for use on the next logging call.
-
v
abstract Unit v(Throwable t, String message, Object args)
Log a verbose exception and a message with optional format args.
-
d
abstract Unit d(Throwable t, String message, Object args)
Log a debug exception and a message with optional format args.
-
i
abstract Unit i(Throwable t, String message, Object args)
Log an info exception and a message with optional format args.
-
w
abstract Unit w(Throwable t, String message, Object args)
Log a warning exception and a message with optional format args.
-
e
abstract Unit e(Throwable t, String message, Object args)
Log an error exception and a message with optional format args.
-
wtf
abstract Unit wtf(Throwable t, String message, Object args)
Log an assert exception and a message with optional format args.
-
log
abstract Unit log(Integer priority, Throwable t, String message)
Log at
priorityan exception and a message.
-
-
-
-