Interface ApplicationLogger


  • public interface ApplicationLogger
    The ApplicationLogger provides an interface for a libGDX Application to log messages and exceptions. A default implementations is provided for each backend, custom implementations can be provided and set using Application.setApplicationLogger(ApplicationLogger)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void debug​(java.lang.String tag, java.lang.String message)
      Logs a debug message with a tag
      void debug​(java.lang.String tag, java.lang.String message, java.lang.Throwable exception)
      Logs a debug message and exception with a tag
      void error​(java.lang.String tag, java.lang.String message)
      Logs an error message with a tag
      void error​(java.lang.String tag, java.lang.String message, java.lang.Throwable exception)
      Logs an error message and exception with a tag
      void log​(java.lang.String tag, java.lang.String message)
      Logs a message with a tag
      void log​(java.lang.String tag, java.lang.String message, java.lang.Throwable exception)
      Logs a message and exception with a tag
    • Method Detail

      • log

        void log​(java.lang.String tag,
                 java.lang.String message)
        Logs a message with a tag
      • log

        void log​(java.lang.String tag,
                 java.lang.String message,
                 java.lang.Throwable exception)
        Logs a message and exception with a tag
      • error

        void error​(java.lang.String tag,
                   java.lang.String message)
        Logs an error message with a tag
      • error

        void error​(java.lang.String tag,
                   java.lang.String message,
                   java.lang.Throwable exception)
        Logs an error message and exception with a tag
      • debug

        void debug​(java.lang.String tag,
                   java.lang.String message)
        Logs a debug message with a tag
      • debug

        void debug​(java.lang.String tag,
                   java.lang.String message,
                   java.lang.Throwable exception)
        Logs a debug message and exception with a tag