Package de.hybris.platform.cronjob.jalo
Class Job.JobFileLogContainer
- java.lang.Object
-
- de.hybris.platform.cronjob.jalo.Job.JobFileLogContainer
-
- Enclosing class:
- Job
protected static class Job.JobFileLogContainer extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JobFileLogContainer(org.apache.log4j.Level level, java.lang.String fileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cleanup()
protected org.apache.log4j.Level
getLevel()
protected java.io.DataInputStream
getLogData()
Provides the complete logs as data input stream.protected boolean
isEnabledFor(org.apache.log4j.Level level)
protected void
log(java.lang.String message, org.apache.log4j.Level level)
-
-
-
Method Detail
-
getLevel
protected org.apache.log4j.Level getLevel()
-
getLogData
protected final java.io.DataInputStream getLogData()
Provides the complete logs as data input stream. This method may only be called after finishing copying since logging is no longer possible afterwards!
-
cleanup
protected final void cleanup()
-
log
protected final void log(java.lang.String message, org.apache.log4j.Level level)
-
isEnabledFor
protected final boolean isEnabledFor(org.apache.log4j.Level level)
-
-