php.java.script.servlet
Class PhpScriptLogWriter

java.lang.Object
  extended by java.io.Writer
      extended by java.io.PrintWriter
          extended by php.java.script.PhpScriptWriter
              extended by php.java.script.servlet.PhpScriptLogWriter
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable, java.lang.Appendable

public class PhpScriptLogWriter
extends PhpScriptWriter

A PrintWriter which uses the JavaBridge logger.


Method Summary
static PhpScriptLogWriter getWriter(ILogger logger)
          Get a new log writer
 
Methods inherited from class php.java.script.PhpScriptWriter
close, getOutputStream
 
Methods inherited from class java.io.PrintWriter
append, append, append, append, append, append, append, append, append, checkError, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, println, println, write, write, write, write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWriter

public static final PhpScriptLogWriter getWriter(ILogger logger)
Get a new log writer

Parameters:
logger - The logger
Returns:
The log writer