Class ApiUsageLogger


  • public final class ApiUsageLogger
    extends java.lang.Object
    Helper for API misuse logging.

    This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.util.logging.Logger API_USAGE_LOGGER  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ApiUsageLogger()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void log​(java.lang.String message)
      Log the message to the API Usage Logger.
      static void log​(java.lang.String message, java.util.logging.Level level)
      Log the message to the API Usage Logger.
      • Methods inherited from class java.lang.Object

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

      • API_USAGE_LOGGER

        private static final java.util.logging.Logger API_USAGE_LOGGER
    • Constructor Detail

      • ApiUsageLogger

        private ApiUsageLogger()
    • Method Detail

      • log

        public static void log​(java.lang.String message)
        Log the message to the API Usage Logger.

        Log at Level.FINEST and include a stack trace.

      • log

        public static void log​(java.lang.String message,
                               java.util.logging.Level level)
        Log the message to the API Usage Logger.

        Log includes a stack trace.