public interface IRepositoryImportLogger
extends org.apache.commons.logging.Log
Modifier and Type | Method and Description |
---|---|
void |
debug(String s)
Log debug information
|
void |
endJob()
Makes an "End Import Job" log entry and releases memory associated with this log.
|
void |
error(Exception e)
Log error information
|
void |
error(String s)
Log an error.
|
boolean |
hasLogger()
Allows a class to check if an ImportLogger has been instantiated for the current thread.
|
void |
info(String s)
Log informational data.
|
void |
setCurrentFilePath(String currentFilePath)
Registers the file being worked on.
|
void |
startJob(OutputStream outputStream,
String importRootPath,
org.apache.log4j.Level logLevel)
Initiates an import job.
|
void startJob(OutputStream outputStream, String importRootPath, org.apache.log4j.Level logLevel)
outputStream
- Will receive the html content of the logimportRootPath
- The root import dir receiving the importlogLevel
- The log level to be logged.void setCurrentFilePath(String currentFilePath)
currentFilePath
- path to file being importedvoid endJob()
void info(String s)
s
- The information message to be logged.void error(String s)
s
- The Error message to be logged.void debug(String s)
s
- The debug message to be loggedvoid error(Exception e)
e
- The exception to be logged.boolean hasLogger()
Copyright © 2019 Hitachi Vantara. All rights reserved.