|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILog
| Method Summary | |
|---|---|
void |
addFilter(Filter filter)
Adds another filter that controls writing of messages via this log. |
boolean |
beLogged(int severity)
Checks whether a message with the specified severity would be written via this log. |
void |
close()
Closes output of this log object. |
void |
flush()
Flushes buffered records in this log object. |
int |
getEffectiveSeverity()
Gets the current effective severity of this log. |
String |
getEncoding()
Gets the canonical name of the character encoding that is used for this log. |
Collection |
getFilters()
Gets the filters that control writing of messages via this log. |
String |
getFooter()
Sets the footer text of this log. |
Formatter |
getFormatter()
Gets the formatter that dictates the format of log records in this log. |
String |
getHeader()
Gets the header text of this log. |
int |
getLogTypeAccessibility()
Gets the current accessibility type of this log. |
int |
getNumberOfLogRecordsWritten()
This method returns the number that indicates how many LogRecords have been written so far. |
boolean |
isAutoFlush()
Checks whether this log flushes its output stream after each log message. |
boolean |
isClosed()
Check is this log closed. |
boolean |
isOpened()
Check is this log opened. |
void |
open()
Open output of this log object. |
void |
removeFilter(Filter filter)
Removes a filter so that it no longer controls writing of messages via this log. |
void |
removeFilters()
Removes all filters associated with this log. |
void |
setAutoFlush(boolean autoFlush)
Configures this log to flush the output stream after each log message. |
void |
setEffectiveSeverity(int severity)
Sets the effective severity of this log. |
void |
setEncoding(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 |
setLogTypeAccessibility(int value)
Sets the effective severity 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 |
|---|
Formatter getFormatter()
setFormatter(Formatter)void setFormatter(Formatter formatter)
getFormatter()void setEffectiveSeverity(int severity)
severity - New effective severityint getEffectiveSeverity()
String getHeader()
#setHeader(java.lang.String)String getFooter()
#setHeader(java.lang.String)String getEncoding()
setEncoding(java.lang.String)void setEncoding(String enc)
enc - Name of character encodinggetEncoding()int getLogTypeAccessibility()
void setLogTypeAccessibility(int value)
severity - New effective severityint getNumberOfLogRecordsWritten()
boolean beLogged(int severity)
false the message is not going to be written
but not vice versa. To this end, the method checks whether the specified
severity is equal to or higher than the effective severity of the log. It
does not take into account filters associated with the log.
severity - Severity of message to be writtenCollection getFilters()
void addFilter(Filter filter)
filter - New filtervoid removeFilter(Filter filter)
filter - Filter to be removedvoid removeFilters()
void flush()
boolean isAutoFlush()
true if and only if this log flushes its output stream
after each log messagesetAutoFlush(boolean)void setAutoFlush(boolean autoFlush)
autoFlush - isAutoFlush()void close()
boolean isClosed()
void open()
boolean isOpened()
int status()
| Access Rights |
|---|
| SC | DC |
|---|---|
[sap.com] FRAMEWORK
|
[sap.com] tc/ddic/ddicruntime
|
[sap.com] ENGINEAPI
|
[sap.com] tc/logging
|
[sap.com] ENGFACADE
|
[sap.com] tc/bl/logging/api
|
[sap.com] CORE-TOOLS
|
[sap.com] com.sap.engine.client.lib
|
[sap.com] BRMS-FACADE
|
[sap.com] tc/brms/facade
|
|
SAP NetWeaver 7.20 (SP01) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||