The following classes and interfaces are available:
Access the Database
|
Class Name |
Public Interface |
Description |
|---|---|---|
|
CL_BALI_LOG_DB |
IF_BALI_LOG_DB |
Handles database access like reading or writing of logs in the database. |
|
CL_BALI_LOG_FILTER |
IF_BALI_LOG_FILTER |
Defines a filter for reading of logs from the database. |
Access the Content of a Log
|
Class Name |
Public Interface |
Description |
|---|---|---|
|
CL_BALI_LOG |
IF_BALI_LOG |
Reads and writes the header and items of a log |
Writing the Log Header
|
Class Name |
Public Interface |
Description |
|---|---|---|
|
CL_BALI_HEADER_SETTER |
IF_BALI_HEADER_SETTER |
Log header which can be put into a log |
Reading the Log Header
|
Class Name |
Public Interface |
Description |
|---|---|---|
|
|
IF_BALI_HEADER_GETTER |
Log header which was read from the log |
Writing a Log Item
|
Class Name |
Public Interface |
Description |
|---|---|---|
|
IF_BALI_ITEM_SETTER |
Each item contains this interface |
|
|
CL_BALI_MESSAGE_SETTER |
IF_BALI_MESSAGE_SETTER |
Message which can be put into a log |
|
CL_BALI_FREE_TEXT_SETTER |
IF_BALI_FREE_TEXT_SETTER |
Free text which can be put into a log |
|
CL_BALI_EXCEPTION_SETTER |
IF_BALI_EXCEPTION_SETTER |
Exception which can be put into a log |
Reading a Log Item
|
Class Name |
Public Interface |
Description |
|---|---|---|
|
IF_BALI_ITEM_GETTER |
Each item contains this interface |
|
|
IF_BALI_MESSAGE_GETTER |
Message which was read from the log |
|
|
IF_BALI_FREE_TEXT_GETTER |
Free text which was read from the log |
|
|
IF_BALI_EXCEPTION_GETTER |
Exception which was read from the log |
Other Classes and Interfaces
|
Class Name |
Public Interface |
Description |
|---|---|---|
|
IF_BALI_CONSTANTS |
Some constants, such as available item categories and severities |
|
|
CL_BALI_ITEM_FILTER |
IF_BALI_ITEM_FILTER |
Define an item filter for adding items to a log |
If one of the class methods can't be processed or can't return the requested results, an exception is raised. The following exceptions are possible, each of them inherit from exception class CX_BALI_RUNTIME:
Exception Classes
|
Class Name |
Description |
|---|---|
|
|
An input parameter of the method is invalid (e.g. the log object doesn't exist). |
|
|
The entry which shall be read or changed was not found. |
|
|
The requested processing is not possible. Possible values of class attribute
|
|
|
Internal error during processing |
Find more information about classes and interfaces of the Application Log API in the ABAP development tools for Eclipse (ADT).