public interface ILogger
The parameters species
, status
and
provider
are used for filtering the log for certain kind of entries.
Participant should not log any kind of coding problems or similar. Instead, log entries should refer to items like the following:
IResource
instancesIf a participant fails to close a structure and another participant closes its outer structure, all inner structures that have not been closed, will be closed.
Copyright 2004 SAP AG
Modifier and Type | Interface and Description |
---|---|
static class |
ILogger.Species |
static class |
ILogger.Token |
Modifier and Type | Field and Description |
---|---|
static ILogger.Species |
HANDLER |
static ILogger.Species |
SERIALIZER |
static ILogger.Species |
TRANSPORTSERVICE |
Modifier and Type | Method and Description |
---|---|
void |
add(Status status,
ILogger.Species species,
String provider,
String message) |
void |
end(ILogger.Token token)
closes the structure that was opened with the
start method. |
ILogger.Token |
start(Status status,
ILogger.Species species,
String provider,
String message) |
static final ILogger.Species SERIALIZER
static final ILogger.Species HANDLER
static final ILogger.Species TRANSPORTSERVICE
void add(Status status, ILogger.Species species, String provider, String message)
status
- the status information (OK, WARNING,...) for this message.
Must not be null
species
- the species the caller belongs to. Create a new one, if the
ones provided here are not sufficient. Must not be
null
provider
- a String that represents the calling class. Should always
be the same for a caller. Must not be null
message
- the actual message. Must not be null
.ILogger.Token start(Status status, ILogger.Species species, String provider, String message)
status
- statusspecies
- speciesprovider
- providermessage
- messagevoid end(ILogger.Token token)
start
method.token
- the token returned by the start
method. Must
not be null
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice