Added support for warn logging level messages to ScriptLogger utility classes and updated forms JS script to use it

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gavin Cornwell
2009-02-10 16:55:00 +00:00
parent c6a014b1a8
commit d4aafeaf54

View File

@@ -46,6 +46,16 @@ public final class ScriptLogger extends BaseProcessorExtension
logger.debug(str); logger.debug(str);
} }
public boolean isWarnLoggingEnabled()
{
return logger.isWarnEnabled();
}
public void warn(String str)
{
logger.warn(str);
}
public SystemOut getSystem() public SystemOut getSystem()
{ {
return systemOut; return systemOut;