com.worklight.common

Class Logger.FileLoggerInterface

  • java.lang.Object
    • java.util.logging.Logger
      • com.worklight.common.Logger.FileLoggerInterface
  • Enclosing class:
    Logger


    protected abstract static class Logger.FileLoggerInterface
    extends java.util.logging.Logger
    • Field Summary

      • Fields inherited from class java.util.logging.Logger

        global, GLOBAL_LOGGER_NAME
    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
      protected Logger.FileLoggerInterface(java.lang.String name, java.lang.String resourceBundleName) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      abstract byte[] getFileContentsAsByteArray(java.io.File file) 
      abstract void log(JSONObject logData, java.lang.String fileName) 
      • Methods inherited from class java.util.logging.Logger

        addHandler, config, entering, entering, entering, exiting, exiting, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getGlobal, getHandlers, getLevel, getLogger, getLogger, getName, getParent, getResourceBundle, getResourceBundleName, getUseParentHandlers, info, isLoggable, log, log, log, log, logp, logp, logp, logp, logrb, logrb, logrb, logrb, removeHandler, setFilter, setLevel, setParent, setUseParentHandlers, severe, throwing, warning
      • Methods inherited from class java.lang.Object

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

      • Logger.FileLoggerInterface

        protected Logger.FileLoggerInterface(java.lang.String name,
                                  java.lang.String resourceBundleName)
    • Method Detail

      • log

        public abstract void log(JSONObject logData,
               java.lang.String fileName)
                          throws java.lang.SecurityException,
                                 java.io.IOException
        Overrides:
        log in class java.util.logging.Logger
        Throws:
        java.lang.SecurityException
        java.io.IOException
      • getFileContentsAsByteArray

        public abstract byte[] getFileContentsAsByteArray(java.io.File file)
                                                   throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException


© Copyright IBM Corp. 2006, 2015. All Rights Reserved.