Object StreamLog

    • Constructor Detail

    • Method Detail

      • e

         final static Unit e(String tag, Throwable throwable, Function0<String> message)

        Send a ERROR log message.

        Parameters:
        tag - Used to identify the source of a log message.
        throwable - An exception to log.
        message - The function returning a message you would like logged.
      • e

         final static Unit e(String tag, Function0<String> message)

        Send a ERROR log message.

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

         final static Unit w(String tag, Function0<String> message)

        Send a WARN log message.

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

         final static Unit i(String tag, Function0<String> message)

        Send a INFO log message.

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

         final static Unit d(String tag, Function0<String> message)

        Send a DEBUG log message.

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

         final static Unit v(String tag, Function0<String> message)

        Send a VERBOSE log message.

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

         final static Unit a(String tag, Function0<String> message)

        Send a ASSERT log message.

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

         final static Unit log(Priority priority, String tag, Throwable throwable, Function0<String> message)

        Send a log message according to the priority.

        Parameters:
        priority - The priority/type of this log message.
        tag - Used to identify the source of a log message.
        throwable - An exception to log.
        message - The function returning a message you would like logged.
      • isInstalled

         final static Boolean isInstalled()

        Represent a StreamLogger is already installed or not. Let you know if the internal StreamLogger instance used for logs has been initialized or it is using the default one.