public interface TAPLog extends UWSLog
UWSLog.LogLevel| Modifier and Type | Method and Description |
|---|---|
void |
logDB(UWSLog.LogLevel level,
DBConnection connection,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the DB (database) context.
|
void |
logTAP(UWSLog.LogLevel level,
java.lang.Object obj,
java.lang.String event,
java.lang.String message,
java.lang.Throwable error)
Log a message and/or an error in the general context of TAP.
|
void logDB(UWSLog.LogLevel level, DBConnection connection, java.lang.String event, java.lang.String message, java.lang.Throwable error)
Log a message and/or an error in the DB (database) context.
List of all events sent by the library (case sensitive):
level - Level of the log (info, warning, error, ...). SHOULD NOT be NULL, but if NULL anyway, the level SHOULD be considered as INFOconnection - DB connection from which this log comes. MAY be NULLevent - Event at the origin of this log or action executed by the given database connection while this log is sent. MAY be NULLmessage - Message to log. MAY be NULLerror - Error/Exception to log. MAY be NULLvoid logTAP(UWSLog.LogLevel level, java.lang.Object obj, java.lang.String event, java.lang.String message, java.lang.Throwable error)
Log a message and/or an error in the general context of TAP.
One of the parameter is of type Object. This object can be used to provide more information to the log function
in order to describe as much as possible the state and/or result event.
List of all events sent by the library (case sensitive):
TAPParameters)TAPSyncJob)TAPExecutionReport)TAPExecutionReport)TAPExecutionReport)TAPExecutionReport)TAPExecutionReport)TAPExecutionReport)TAPExecutionReport)TAPExecutionReport)TAPExecutionReport)TAPSyncJob)TAPSyncJob)level - Level of the log (info, warning, error, ...). SHOULD NOT be NULL, but if NULL anyway, the level SHOULD be considered as INFOobj - Object providing more information about the event/object at the origin of this log. MAY be NULLevent - Event at the origin of this log or action currently executed by TAP while this log is sent. MAY be NULLmessage - Message to log. MAY be NULLerror - Error/Exception to log. MAY be NULL