Package 

Object Log.Companion

    • Method Detail

      • v

         final Unit v(String tag, String msg)

        Send a .VERBOSE log message.

        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • v

         final Unit v(String tag, String msg, Throwable tr)

        Send a .VERBOSE log message and log 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

         final Unit d(String tag, String msg)

        Send a .DEBUG log message.

        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • d

         final Unit d(String tag, String msg, Throwable tr)

        Send a .DEBUG log message and log 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

         final Unit i(String tag, String msg)

        Send an .INFO log message.

        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • i

         final Unit i(String tag, String msg, Throwable tr)

        Send a .INFO log message and log 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

         final Unit w(String tag, String msg)

        Send a .WARN log message.

        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • w

         final Unit w(String tag, String msg, Throwable tr)

        Send a .WARN log message and log 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

         final Unit w(String tag, Throwable tr)

        Send a .WARN log message and log the exception.

        Parameters:
        tag - Used to identify the source of a log message.
        tr - An exception to log
      • e

         final Unit e(String tag, String msg)

        Send an .ERROR log message.

        Parameters:
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • e

         final Unit e(String tag, String msg, Throwable tr)

        Send a .ERROR log message and log 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
      • println

         final Integer println(Integer priority, String tag, String msg)

        Low-level logging call.

        Parameters:
        priority - The priority/type of this log message
        tag - Used to identify the source of a log message.
        msg - The message you would like logged.
      • get

         final Log get(String tag)

        The only way to receive log object.<br></br> This method is thread safe.<br></br> In case of calling this method from the thread which is already has active(not released) Log object then that object returned with changed tag, previous pushed data will be automatically flushed.

        Parameters:
        tag - tag for log object
      • getVERBOSE

         final Integer getVERBOSE()

        Priority constant for the println method; use Log.v.

      • getDEBUG

         final Integer getDEBUG()

        Priority constant for the println method; use Log.d.

      • getINFO

         final Integer getINFO()

        Priority constant for the println method; use Log.i.

      • getWARN

         final Integer getWARN()

        Priority constant for the println method; use Log.w.

      • getERROR

         final Integer getERROR()

        Priority constant for the println method; use Log.e.