Package 

Interface Logger


  • 
    public interface Logger
    
                        

    Logging interface for logging messages in the android-beacon-library. To set a custom logger implement this interface and set it with setLogger.

    • Method Detail

      • v

         abstract void v(String tag, String message, Array<Object> args)

        Send a verbose log message.

        Parameters:
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • v

         abstract void v(Throwable t, String tag, String message, Array<Object> args)

        Send a verbose log message.

        Parameters:
        t - An exception to log.
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • d

         abstract void d(String tag, String message, Array<Object> args)

        Send a debug log message.

        Parameters:
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • d

         abstract void d(Throwable t, String tag, String message, Array<Object> args)

        Send a debug log message.

        Parameters:
        t - An exception to log.
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • i

         abstract void i(String tag, String message, Array<Object> args)

        Send a info log message.

        Parameters:
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • i

         abstract void i(Throwable t, String tag, String message, Array<Object> args)

        Send a info log message.

        Parameters:
        t - An exception to log.
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • w

         abstract void w(String tag, String message, Array<Object> args)

        Send a warning log message.

        Parameters:
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • w

         abstract void w(Throwable t, String tag, String message, Array<Object> args)

        Send a warning log message.

        Parameters:
        t - An exception to log.
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • e

         abstract void e(String tag, String message, Array<Object> args)

        Send a error log message.

        Parameters:
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.
      • e

         abstract void e(Throwable t, String tag, String message, Array<Object> args)

        Send a error log message.

        Parameters:
        t - An exception to log.
        tag - Used to identify the source of a log message.
        message - The message you would like logged.
        args - Arguments for string formatting.