com.sapportals.wcm.util.log

Class ConsoleChannel

java.lang.Object
  extended by com.sapportals.wcm.util.log.AbstractChannel
      extended by com.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
Throws:
Exception
Method Detail

log

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

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice