|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.sap.tc.logging.ExceptionHandling
|
+--com.sap.tc.logging.BaseLog
| Field Summary | |
static int |
STATUS_CLOSED
|
static int |
STATUS_INVALID
|
static int |
STATUS_OPENED
|
| Constructor Summary | |
BaseLog()
|
|
| Method Summary | |
void |
addFilter(IFilter filter)
Adds another filter that controls messages flow via this log. |
void |
close()
Closes this log object. |
java.lang.String |
getDescription()
|
java.lang.String |
getEncoding()
Gets the canonical name of the character encoding that is used for this log. |
IFilter |
getFilter(int index)
Gets the filter that control messages flow via this log. |
java.util.Collection |
getFilters()
Gets the filters that control messages flow via this log. |
java.lang.String |
getFooter()
Sets the footer text of this log. |
Formatter |
getFormatter()
Gets the formatter that dictates the format of log records in this log. |
java.lang.String |
getHeader()
Gets the header text of this log. |
int |
getMode()
Get current working mode |
java.lang.String |
getName()
|
java.lang.String |
getPattern()
Gets the name pattern of this file log. |
java.lang.String |
getSource()
Gets the source name of this file log. |
java.lang.String |
getVerInUse()
|
boolean |
isClosed()
Check is this log closed. |
boolean |
isOpened()
Check is this log opened. |
void |
open()
Open this log object. |
void |
removeFilter(IFilter filter)
Removes a filter so that it no longer controls messages flow via this log. |
void |
removeFilters()
Removes all filters associated with this log. |
void |
setDescription(java.lang.String value)
|
void |
setEncoding(java.lang.String encoding)
Sets the named character encoding to be used for this log. |
void |
setFormatter(Formatter formatter)
Sets the formatter that dictates the format of log records in this log. |
void |
setMode(int mode)
Set current working mode. |
void |
setName(java.lang.String value)
|
void |
setPattern(java.lang.String value)
Sets the name pattern of this log. |
void |
setSource(java.lang.String value)
Sets the source name of this log. |
int |
status()
Status of this log object. |
| Methods inherited from class com.sap.tc.logging.ExceptionHandling |
getException, getExceptions, handleException, handleException, resetException, throwException |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int STATUS_INVALID
public static final int STATUS_CLOSED
public static final int STATUS_OPENED
| Constructor Detail |
public BaseLog()
| Method Detail |
public void open()
throws OpenException
IBaseLogopen in interface IBaseLogIBaseLog.open()
public void close()
throws CloseException
IBaseLogclose in interface IBaseLogIBaseLog.close()public int status()
IBaseLogstatus in interface IBaseLogIBaseLog.status()public boolean isClosed()
IBaseLogisClosed in interface IBaseLogIBaseLog.isClosed()public boolean isOpened()
IBaseLogisOpened in interface IBaseLogIBaseLog.isOpened()public void setPattern(java.lang.String value)
IBaseLogsetPattern in interface IBaseLogIBaseLog.setPattern(java.lang.String)public java.lang.String getPattern()
IBaseLoggetPattern in interface IBaseLogIBaseLog.getPattern()public void setSource(java.lang.String value)
IBaseLogsetSource in interface IBaseLogIBaseLog.setSource(java.lang.String)public java.lang.String getSource()
IBaseLoggetSource in interface IBaseLogIBaseLog.getSource()public void setEncoding(java.lang.String encoding)
IBaseLogsetEncoding in interface IBaseLogIBaseLog.setEncoding(java.lang.String)public java.lang.String getEncoding()
IBaseLoggetEncoding in interface IBaseLogIBaseLog.getEncoding()public void setFormatter(Formatter formatter)
IBaseLogsetFormatter in interface IBaseLogIBaseLog.setFormatter(com.sap.tc.logging.Formatter)public Formatter getFormatter()
IBaseLoggetFormatter in interface IBaseLogIBaseLog.getFormatter()public java.lang.String getFooter()
IBaseLoggetFooter in interface IBaseLogIBaseLog.getFooter()public java.lang.String getHeader()
IBaseLoggetHeader in interface IBaseLogIBaseLog.getHeader()public int getMode()
IBaseLoggetMode in interface IBaseLogIBaseLog.getMode()public void setMode(int mode)
IBaseLogsetMode in interface IBaseLogcom.sap.tc.logging.interfaces.IBaseLog#setMode()public void addFilter(IFilter filter)
IBaseLogaddFilter in interface IBaseLogIBaseLog.addFilter(com.sap.tc.logging.interfaces.IFilter)public IFilter getFilter(int index)
IBaseLoggetFilter in interface IBaseLogcom.sap.tc.logging.interfaces.IBaseLog#getFilter()public java.util.Collection getFilters()
IBaseLoggetFilters in interface IBaseLogIBaseLog.getFilters()public void removeFilter(IFilter filter)
IBaseLogremoveFilter in interface IBaseLogIBaseLog.removeFilter(com.sap.tc.logging.interfaces.IFilter)public void removeFilters()
IBaseLogremoveFilters in interface IBaseLogIBaseLog.removeFilters()public void setName(java.lang.String value)
com.sap.tc.logging.interfaces.IObjectInfo#setName(java.lang.String)public java.lang.String getName()
getName in interface IObjectInfoIObjectInfo.getName()public void setDescription(java.lang.String value)
com.sap.tc.logging.interfaces.IObjectInfo#setDescription(java.lang.String)public java.lang.String getDescription()
getDescription in interface IObjectInfoIObjectInfo.getDescription()public java.lang.String getVerInUse()
getVerInUse in interface IObjectInfoIObjectInfo.getVerInUse()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||