com.sapportals.wcm.util.log

Class ConsoleChannel

java.lang.Object
  extended bycom.sapportals.wcm.util.log.AbstractChannel
      extended bycom.sapportals.wcm.util.log.ConsoleChannel
All Implemented Interfaces:
IChannel

public class ConsoleChannel
extends AbstractChannel
implements IChannel

Channel for writing log output to the console


Field Summary
 
Fields inherited from class com.sapportals.wcm.util.log.AbstractChannel
formatter, m_maxBacklog, m_maxSize, m_showStackTraces, m_showThreads
 
Constructor Summary
ConsoleChannel(String fileName, Long maxSize, Integer maxBacklog, Boolean showStackTraces, Boolean showThreads)
           
 
Method Summary
 void log(String method, int level, Object message, Throwable throwable)
           
 
Methods inherited from class com.sapportals.wcm.util.log.AbstractChannel
getDateTimeString, getLogLevelText, getLogText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleChannel

public ConsoleChannel(String fileName,
                      Long maxSize,
                      Integer maxBacklog,
                      Boolean showStackTraces,
                      Boolean showThreads)
               throws Exception
Method Detail

log

public void log(String method,
                int level,
                Object message,
                Throwable throwable)
Specified by:
log in interface IChannel


Copyright 2006 SAP AG Complete Copyright Notice