Interface IRepositoryExportLogger

All Superinterfaces:
org.apache.commons.logging.Log

public interface IRepositoryExportLogger extends org.apache.commons.logging.Log
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Log debug information
    void
    Makes an "End Import Job" log entry and releases memory associated with this log.
    void
    Log error information
    void
    Log an error.
    boolean
    Allows a class to check if an ImportLogger has been instantiated for the current thread.
    void
    Log informational data.
    void
    startJob(OutputStream outputStream, org.apache.logging.log4j.Level logLevel)
    Initiates an import job.
    void
    startJob(OutputStream outputStream, org.apache.logging.log4j.Level logLevel, org.apache.logging.log4j.core.StringLayout layout)
    Initiates an import job.

    Methods inherited from interface org.apache.commons.logging.Log

    debug, debug, error, error, fatal, fatal, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isTraceEnabled, isWarnEnabled, trace, trace, warn, warn
  • Method Details

    • startJob

      void startJob(OutputStream outputStream, org.apache.logging.log4j.Level logLevel, org.apache.logging.log4j.core.StringLayout layout)
      Initiates an import job. Each call creates a new log associated with the current thread.
      Parameters:
      outputStream - Will receive the html content of the log
      logLevel - The log level to be logged.
      layout - The layout to be use.
    • startJob

      void startJob(OutputStream outputStream, org.apache.logging.log4j.Level logLevel)
      Initiates an import job. Each call creates a new log associated with the current thread.
      Parameters:
      outputStream - Will receive the html content of the log
      logLevel - The log level to be logged.
    • endJob

      void endJob()
      Makes an "End Import Job" log entry and releases memory associated with this log.
    • info

      void info(String s)
      Log informational data. Should be called when the starting a new file and when finishing that file.
      Parameters:
      s - The information message to be logged.
    • error

      void error(String s)
      Log an error.
      Parameters:
      s - The Error message to be logged.
    • debug

      void debug(String s)
      Log debug information
      Parameters:
      s - The debug message to be logged
    • error

      void error(Exception e)
      Log error information
      Parameters:
      e - The exception to be logged.
    • hasLogger

      boolean hasLogger()
      Allows a class to check if an ImportLogger has been instantiated for the current thread.
      Returns:
      true if the logger is present.