Class DVCLogger


  • public class DVCLogger
    extends java.lang.Object
    DVCLogger is a simple central entrypoint for the SDK to log messages without pinning the SDK to a specific logging framework. By default it logs to stdout but can e overriden by calling setCustomLogger()
    • Constructor Summary

      Constructors 
      Constructor Description
      DVCLogger()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void debug​(java.lang.String message)  
      static void error​(java.lang.String message)  
      static void error​(java.lang.String message, java.lang.Throwable t)  
      static void info​(java.lang.String message)  
      static void setCustomLogger​(IDVCLogger logger)  
      static void warning​(java.lang.String message)  
      • Methods inherited from class java.lang.Object

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

      • DVCLogger

        public DVCLogger()
    • Method Detail

      • setCustomLogger

        public static void setCustomLogger​(IDVCLogger logger)
      • debug

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

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

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

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

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