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:
- ILog, IObjectInfo, Cloneable
public class ConsoleLog
- extends StreamLog
Writes log records to System.err.
| Fields inherited from class com.sap.tc.logging.ExceptionHandling |
EX_NO_FILTER_EMSG, EX_NO_FORMATTER_EMSG, EX_NO_INSTANCE_EMSG |
|
Constructor Summary |
ConsoleLog()
Configures this console log. |
ConsoleLog(Formatter formatter)
Configures this console log for writing with a custom formatter. |
| Methods inherited from class com.sap.tc.logging.Log |
addFilter, addOwner, beGroup, beLogged, close, finalize, flush, getDescription, getEffectiveSeverity, getFilters, getFooter, getFormatter, getHeader, getLocalLogOwner, getLoggedCount, getLogName, getLogTypeAccessibility, getName, getNumberOfLogRecordsWritten, getOwners, getRecord, getVerInUse, isAutoFlush, isClosed, isFiltersAgreeing, isHeaderWritten, isOpened, isSuppressing, open, removeFilter, removeFilters, removeOwner, reset, resetInt, resetLoggedCount, setAutoFlush, setDescription, setEffectiveSeverity, setFooter, setFormatter, setHeader, setHeaderWritten, setLocalLogOwner, setLogName, setLogTypeAccessibility, setName, setSize, setStatus, setSuppressing, setVerInUse, size, status, write, writeInt, writeLogFooter, writeLogHeader |
| Methods inherited from class com.sap.tc.logging.ExceptionHandling |
getException, getExceptions, handleException, handleException, resetException, throwException |
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()
isEnable
public static boolean isEnable()
setEnable
public static void setEnable(boolean enable)
closeInt
protected void closeInt()
throws IOException
- Description copied from class:
Log
- Closes output of this log object. This method is meant for overriding the
fashion in which the log is closed. You should not call this method from
the outside because you would ignore common actions that have to take
place for each close, for example writing the footer defined by the
formatter.
- Overrides:
closeInt in class StreamLog
- Throws:
IOException - Exception from closing the destination
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/edit/api
|
api
|
BC-BMT-BRM-ENG
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/facade
|
api
|
BC-BMT-BRM-ENG
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.libdeprecated
|
-
|
BC-JAS
|
[sap.com] ENGFACADE
|
[sap.com] public.test.facade
|
runtime
|
BC-TWB-TST-JUT
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/logging/api
|
api
|
BC-JAS
|
[sap.com] ENGINEAPI
|
[sap.com] tc/loggingdeprecated
|
-
|
BC-JAS-ADM-LOG-API
|
[sap.com] ENGINEAPI
|
[sap.com] tc/loggingdeprecated
|
default
|
BC-JAS-ADM-LOG-API
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] FRAMEWORK
|
[sap.com] tc/ddic/ddicruntime
|
default
|
BC-DWB-JDD
|
Copyright 2014 SAP AG Complete Copyright Notice