Package 

Interface ILogger


  • 
    public interface ILogger
    
                        

    日志记录器的基本定义

    • Method Summary

      Modifier and Type Method Description
      abstract ILogger offset(Integer methodOffset) Set a one-time method trace offset for use on the next logging call.
      abstract ILogger tag(String tag) Set a one-time tag for use on the next logging call.
      abstract Unit v(String message, Object args) Log a verbose message with optional format args.
      abstract Unit v(Throwable t, String message, Object args) Log a verbose exception and a message with optional format args.
      abstract Unit v(Throwable t) Log a verbose exception.
      abstract Unit d(String message, Object args) Log a debug message with optional format args.
      abstract Unit d(Throwable t, String message, Object args) Log a debug exception and a message with optional format args.
      abstract Unit d(Throwable t) Log a debug exception.
      abstract Unit i(String message, Object args) Log an info message with optional format args.
      abstract Unit i(Throwable t, String message, Object args) Log an info exception and a message with optional format args.
      abstract Unit i(Throwable t) Log an info exception.
      abstract Unit w(String message, Object args) Log a warning message with optional format args.
      abstract Unit w(Throwable t, String message, Object args) Log a warning exception and a message with optional format args.
      abstract Unit w(Throwable t) Log a warning exception.
      abstract Unit e(String message, Object args) Log an error message with optional format args.
      abstract Unit e(Throwable t, String message, Object args) Log an error exception and a message with optional format args.
      abstract Unit e(Throwable t) Log an error exception.
      abstract Unit wtf(String message, Object args) Log an assert message with optional format args.
      abstract Unit wtf(Throwable t, String message, Object args) Log an assert exception and a message with optional format args.
      abstract Unit wtf(Throwable t) Log an assert exception.
      abstract Unit log(Integer priority, String message) Log at priority an message.
      abstract Unit log(Integer priority, Throwable t, String message) Log at priority an exception and a message.
      abstract Unit log(Integer priority, Throwable t) Log at priority an exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait