Package xcrash

Interface ILogger


  • public interface ILogger
    Define the logger interface used by xCrash.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void d​(java.lang.String tag, java.lang.String msg)
      Log a DEBUG message.
      void d​(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)
      Log a DEBUG message and the exception.
      void e​(java.lang.String tag, java.lang.String msg)
      Log a ERROR message.
      void e​(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)
      Log a ERROR message and the exception.
      void i​(java.lang.String tag, java.lang.String msg)
      Log a INFO message.
      void i​(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)
      Log a INFO message and the exception.
      void v​(java.lang.String tag, java.lang.String msg)
      Log a VERBOSE message.
      void v​(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)
      Log a VERBOSE message and the exception.
      void w​(java.lang.String tag, java.lang.String msg)
      Log a WARN message.
      void w​(java.lang.String tag, java.lang.String msg, java.lang.Throwable tr)
      Log a WARN message and the exception.
    • Method Detail

      • v

        void v​(java.lang.String tag,
               java.lang.String msg)
        Log a VERBOSE message.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • v

        void v​(java.lang.String tag,
               java.lang.String msg,
               java.lang.Throwable tr)
        Log a VERBOSE message and the exception.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
        tr - An exception to log.
      • d

        void d​(java.lang.String tag,
               java.lang.String msg)
        Log a DEBUG message.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • d

        void d​(java.lang.String tag,
               java.lang.String msg,
               java.lang.Throwable tr)
        Log a DEBUG message and the exception.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
        tr - An exception to log.
      • i

        void i​(java.lang.String tag,
               java.lang.String msg)
        Log a INFO message.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • i

        void i​(java.lang.String tag,
               java.lang.String msg,
               java.lang.Throwable tr)
        Log a INFO message and the exception.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
        tr - An exception to log.
      • w

        void w​(java.lang.String tag,
               java.lang.String msg)
        Log a WARN message.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • w

        void w​(java.lang.String tag,
               java.lang.String msg,
               java.lang.Throwable tr)
        Log a WARN message and the exception.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
        tr - An exception to log.
      • e

        void e​(java.lang.String tag,
               java.lang.String msg)
        Log a ERROR message.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • e

        void e​(java.lang.String tag,
               java.lang.String msg,
               java.lang.Throwable tr)
        Log a ERROR message and the exception.
        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
        tr - An exception to log.