com.sap.tc.logging
Class ConsoleLog

java.lang.Object
  |
  +--com.sap.tc.logging.ExceptionHandling
        |
        +--com.sap.tc.logging.Log
              |
              +--com.sap.tc.logging.StreamLog
                    |
                    +--com.sap.tc.logging.ConsoleLog
All Implemented Interfaces:
java.lang.Cloneable, ILog, IObjectInfo

public class ConsoleLog
extends StreamLog

Writes log records to System.err.


Fields inherited from class com.sap.tc.logging.Log
LOG_ACCESSABILITY_TYPE_LOCAL_LOG, LOG_ACCESSABILITY_TYPE_NORMAL_LOG, LOG_ACCESSABILITY_TYPE_PRIVATE_LOG, STATUS_CLOSED, STATUS_INVALID, STATUS_OPENED
 
Constructor Summary
ConsoleLog()
          Configures this console log.
ConsoleLog(Formatter formatter)
          Configures this console log for writing with a custom formatter.
 
Method Summary
 boolean equals(java.lang.Object object)
           
 
Methods inherited from class com.sap.tc.logging.StreamLog
getEncoding, setEncoding
 
Methods inherited from class com.sap.tc.logging.Log
addFilter, beGroup, beLogged, close, flush, getDescription, getEffectiveSeverity, getFilters, getFooter, getFormatter, getHeader, getLoggedCount, getLogName, getLogTypeAccessibility, getName, getNumberOfLogRecordsWritten, getOwners, getRecord, getVerInUse, isAutoFlush, isClosed, isFiltersAgreeing, isOpened, isSuppressing, open, removeFilter, removeFilters, reset, resetLoggedCount, setAutoFlush, setDescription, setEffectiveSeverity, setFormatter, setLogName, setLogTypeAccessibility, setName, setSuppressing, size, status, write
 
Methods inherited from class com.sap.tc.logging.ExceptionHandling
getException, getExceptions, handleException, handleException, resetException, throwException
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleLog

public ConsoleLog()
Configures this console log.
See Also:
ConsoleLog(Formatter)

ConsoleLog

public ConsoleLog(Formatter formatter)
Configures this console log for writing with a custom formatter.
Parameters:
formatter - Formatter
See Also:
ConsoleLog()
Method Detail

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object