Package 

Class Logger


  • 
    public final class Logger
    
                        

    Helper to easily log into the application.

    Internal logs can be enabled using setprop log.tag.BatchInternal VERBOSE

    • Method Detail

      • verbose

         static void verbose(String module, String msg, Throwable t)

        Verbose log with module, message and throwable.

        Parameters:
        module - Module name.
        msg - Message of the error.
        t - Throwable exception.
      • verbose

         static void verbose(String msg, Throwable t)

        Verbose log with message and throwable.

        Parameters:
        msg - Message of the error.
        t - Throwable exception.
      • verbose

         static void verbose(String module, String msg)

        Verbose log with module and message.

        Parameters:
        module - Module name.
        msg - Message of the error.
      • verbose

         static void verbose(String msg)

        Verbose log with message.

        Parameters:
        msg - Message of the error.
      • info

         static void info(String module, String msg, Throwable t)

        Info log with module, message and throwable.

        Parameters:
        module - Module name.
        msg - Message of the error.
        t - Throwable exception.
      • info

         static void info(String msg, Throwable t)

        Info log with message and throwable.

        Parameters:
        msg - Message of the error.
        t - Throwable exception.
      • info

         static void info(String module, String msg)

        Info log with module and message.

        Parameters:
        module - Module name.
        msg - Message of the error.
      • info

         static void info(String msg)

        Verbose log with message.

        Parameters:
        msg - Message of the error.
      • warning

         static void warning(String module, String msg, Throwable t)

        Warning log with module, message and throwable.

        Parameters:
        module - Module name.
        msg - Message of the error.
        t - Throwable exception.
      • warning

         static void warning(String msg, Throwable t)

        Warning log with message and throwable.

        Parameters:
        msg - Message of the error.
        t - Throwable exception.
      • warning

         static void warning(String module, String msg)

        Warning log with module and message.

        Parameters:
        module - Module name.
        msg - Message of the error.
      • warning

         static void warning(String msg)

        Warning log with message.

        Parameters:
        msg - Message of the error.
      • error

         static void error(String module, String msg, Throwable t)

        Error log with module, message and throwable.

        Parameters:
        module - Module name.
        msg - Message of the error.
        t - Throwable exception.
      • error

         static void error(String msg, Throwable t)

        Error log with message and throwable.

        Parameters:
        msg - Message of the error.
        t - Throwable exception.
      • error

         static void error(String module, String msg)

        Error log with module and message.

        Parameters:
        module - Module name.
        msg - Message of the error.
      • error

         static void error(String msg)

        Error log with message.

        Parameters:
        msg - Message of the error.
      • internal

         static void internal(String module, String msg, Throwable t)

        Debug log with module, message and throwable.

        Parameters:
        module - Module name.
        msg - Message of the error.
        t - Throwable exception.
      • internal

         static void internal(String msg, Throwable t)

        Internal log with message and throwable.

        Parameters:
        msg - Message of the error.
        t - Throwable exception.
      • internal

         static void internal(String module, String msg)

        Debug log with module and message.

        Parameters:
        module - Module name.
        msg - Message of the error.
      • internal

         static void internal(String msg)

        Debug log with message.

        Parameters:
        msg - Message of the error.