org.springframework.extensions.webscripts
Class ScriptLogger

java.lang.Object
  extended by org.springframework.extensions.webscripts.ScriptLogger

public final class ScriptLogger
extends Object

NOTE: Copied from org.alfresco.repo.jscript

Author:
Kevin Roast, davidc

Nested Class Summary
static class ScriptLogger.SystemOut
           
 
Constructor Summary
ScriptLogger()
           
 
Method Summary
 ScriptLogger.SystemOut getSystem()
           
 boolean isLoggingEnabled()
           
 boolean isWarnLoggingEnabled()
           
 void log(String str)
           
 void warn(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptLogger

public ScriptLogger()
Method Detail

isLoggingEnabled

public boolean isLoggingEnabled()

log

public void log(String str)

isWarnLoggingEnabled

public boolean isWarnLoggingEnabled()

warn

public void warn(String str)

getSystem

public ScriptLogger.SystemOut getSystem()


Copyright © 2009 SpringSource, Inc. All Rights Reserved.