com.sapportals.wcm.util.log

Class AbstractChannel

java.lang.Object
  extended by com.sapportals.wcm.util.log.AbstractChannel
Direct Known Subclasses:
ConsoleChannel, FileChannel

public abstract class AbstractChannel
extends Object

Copyright (c) SAP AG 2001-2002


Field Summary
protected  DateFormat formatter
           
 int m_maxBacklog
           
 long m_maxSize
           
 boolean m_showStackTraces
           
 boolean m_showThreads
           
 
Constructor Summary
AbstractChannel(Long maxSize, Integer maxBacklog, Boolean showStackTraces, Boolean showThreads)
           
 
Method Summary
 String getDateTimeString()
           
 String getLogLevelText(int level)
           
 String getLogText(String method, int level, Object message, Throwable throwable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_maxSize

public long m_maxSize

m_maxBacklog

public int m_maxBacklog

m_showStackTraces

public boolean m_showStackTraces

m_showThreads

public boolean m_showThreads

formatter

protected DateFormat formatter
Constructor Detail

AbstractChannel

public AbstractChannel(Long maxSize,
                       Integer maxBacklog,
                       Boolean showStackTraces,
                       Boolean showThreads)
                throws Exception
Throws:
Exception
Method Detail

getDateTimeString

public String getDateTimeString()

getLogLevelText

public String getLogLevelText(int level)

getLogText

public String getLogText(String method,
                         int level,
                         Object message,
                         Throwable throwable)
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