Show TOC Start of Content Area

Function documentation Log (Destination) Locate the document in its SAP Library structure

Use

A log represents the destination where the messages will be written. For this object you can also specify and assign an appropriate formatter for the log, as well as multiple optional filters. Like the log controller source object, a severity level can be defined for each log. Unlike the default for log controller (Severity.NONE), the default for a log is Severity.ALL. That is, there is no effect on the main severity level check with the log controller. For more information, see Appendix C.

Currently, the following logs are provided:

·        ConsoleLog – directs the messages to the System.err (java.lang.System). This log type is typically used in the debugging process for a quick overview of problems.

·        FileLog – directs the messages to a file or a set of rotating files. For more information, see Output File.

·        StreamLog – directs the messages to an arbitrary OutputStream (java.io.OutputStream);

 

End of Content Area