Package org.alfresco.repo.jscript
Class ScriptLogger
- java.lang.Object
-
- org.alfresco.repo.processor.BaseProcessorExtension
-
- org.alfresco.repo.jscript.ScriptLogger
-
- All Implemented Interfaces:
ProcessorExtension
public final class ScriptLogger extends BaseProcessorExtension
- Author:
- Kevin Roast
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScriptLogger.SystemOut
-
Constructor Summary
Constructors Constructor Description ScriptLogger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(String str)voiderror(String str)ScriptLogger.SystemOutgetSystem()voidinfo(String str)booleanisDebugLoggingEnabled()booleanisErrorLoggingEnabled()booleanisInfoLoggingEnabled()booleanisLoggingEnabled()booleanisWarnLoggingEnabled()voidlog(String str)voidwarn(String str)-
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
-
-
-
Method Detail
-
isLoggingEnabled
public boolean isLoggingEnabled()
-
log
public void log(String str)
-
isDebugLoggingEnabled
public boolean isDebugLoggingEnabled()
-
debug
public void debug(String str)
-
isInfoLoggingEnabled
public boolean isInfoLoggingEnabled()
-
info
public void info(String str)
-
isWarnLoggingEnabled
public boolean isWarnLoggingEnabled()
-
warn
public void warn(String str)
-
isErrorLoggingEnabled
public boolean isErrorLoggingEnabled()
-
error
public void error(String str)
-
getSystem
public ScriptLogger.SystemOut getSystem()
-
-