|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
| 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 |
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 |
getPattern()
Gets the name pattern of this file log. |
java.lang.String |
getSource()
Gets the source name of this file log. |
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 |
setEncoding(java.lang.String enc)
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 |
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 interface com.sap.tc.logging.interfaces.IObjectInfo |
getDescription, getName, getVerInUse |
| Method Detail |
public java.lang.String getPattern()
setPattern(java.lang.String)public void setPattern(java.lang.String value)
public java.lang.String getSource()
setSource(java.lang.String)public void setSource(java.lang.String value)
setPattern(java.lang.String)public Formatter getFormatter()
setFormatter(Formatter)public void setFormatter(Formatter formatter)
formatter - - Formatter instance.
if formatter == null, default ListFormatter() will be created!getFormatter()public java.lang.String getHeader()
#setHeader(java.lang.String)public java.lang.String getFooter()
#setHeader(java.lang.String)public java.lang.String getEncoding()
setEncoding(java.lang.String)public void setEncoding(java.lang.String enc)
enc - Name of character encodinggetEncoding()public void addFilter(IFilter filter)
filter - New filterpublic void removeFilter(IFilter filter)
filter - Filter to be removedpublic IFilter getFilter(int index)
public java.util.Collection getFilters()
public void removeFilters()
public void close()
throws CloseException
public void open()
throws OpenException
public boolean isClosed()
public boolean isOpened()
public int status()
public int getMode()
public void setMode(int mode)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||