Class Logger


  • public class Logger
    extends java.lang.Object
    Singleton object for logging. If you want to provide a custom logger implementation, implements LottieLogger interface in a custom class and replace Logger.instance
    • Constructor Summary

      Constructors 
      Constructor Description
      Logger()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void debug​(java.lang.String message)  
      static void debug​(java.lang.String message, java.lang.Throwable exception)  
      static void error​(java.lang.String message, java.lang.Throwable exception)  
      static void setInstance​(LottieLogger instance)  
      static void warning​(java.lang.String message)  
      static void warning​(java.lang.String message, java.lang.Throwable exception)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Logger

        public Logger()
    • Method Detail

      • setInstance

        public static void setInstance​(LottieLogger instance)
      • debug

        public static void debug​(java.lang.String message)
      • debug

        public static void debug​(java.lang.String message,
                                 java.lang.Throwable exception)
      • warning

        public static void warning​(java.lang.String message)
      • warning

        public static void warning​(java.lang.String message,
                                   java.lang.Throwable exception)
      • error

        public static void error​(java.lang.String message,
                                 java.lang.Throwable exception)