com.caucho.log
Class ELFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by com.caucho.log.MessageFormatter
          extended by com.caucho.log.ELFormatter

public class ELFormatter
extends MessageFormatter

A Formatter that accepts an EL format string, and.


Nested Class Summary
static class ELFormatter.CookieMap
           
 class ELFormatter.ELFormatterLogRecord
          An api similar to java.util.logging.LogRecord that provides more complete information for logging purposes.
 
Constructor Summary
ELFormatter()
           
 
Method Summary
 java.lang.String format(java.util.logging.LogRecord logRecord)
           
 java.lang.String getFormat()
           
 void init()
           
 void setFormat(RawString format)
           
 
Methods inherited from class com.caucho.log.MessageFormatter
formatMessage
 
Methods inherited from class java.util.logging.Formatter
getHead, getTail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ELFormatter

public ELFormatter()
Method Detail

setFormat

public void setFormat(RawString format)

getFormat

public java.lang.String getFormat()

init

@PostConstruct
public void init()
          throws ConfigException
Throws:
ConfigException

format

public java.lang.String format(java.util.logging.LogRecord logRecord)
Overrides:
format in class MessageFormatter