com.bea.logging
Class WeblogicAppender

java.lang.Object
  extended by AppenderSkeleton
      extended by com.bea.logging.WeblogicAppender

public class WeblogicAppender
extends AppenderSkeleton

The WeblogicAppender is an appender for writing to the WebLogic log services. Consequently, it's use is dependent on running within WebLogic. If you are not running within WebLogic, this logger writes to System.out.


Constructor Summary
WeblogicAppender()
           
WeblogicAppender(String subsystem)
           
 
Method Summary
protected  void append(LoggingEvent event)
          The append method is over-ridden to send messages to the WLS.
 void close()
          Does nothing at present release.
 boolean requiresLayout()
          Objects can call this method to find out if they are required to provide a layout for this appender.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WeblogicAppender

public WeblogicAppender()

WeblogicAppender

public WeblogicAppender(String subsystem)
Method Detail

append

protected final void append(LoggingEvent event)
The append method is over-ridden to send messages to the WLS.


requiresLayout

public final boolean requiresLayout()
Objects can call this method to find out if they are required to provide a layout for this appender. Because WebLogic provides its own log message formatting, this appender does not need a layout provided; in fact, if one is provided, it is ignored.

Returns:
false

close

public final void close()
Does nothing at present release.