com.sap.it.commons.logging.Logger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of odata-core Show documentation
Show all versions of odata-core Show documentation
SAP Cloud Platform SDK for service development
The newest version!
package com.sap.it.commons.logging;
public interface Logger {
/**
* logs a message represented by an instance of {@link Message} under the
* ERROR logging category. The message parameters are merged in the message
* text if the message text contains corresponding placeholders (like
* {0},...)
*
* @param message
* @param messageParameter
*/
void log(Message message, Object... messageParameter);
void log(Message message);
void log(MessageInstance messageInstance);
void log(String subsystem, String subsystemPart, String messageId, String messageText);
void log(String subsystem, String subsystemPart, String messageId, String messageText, Object... messageParameter);
/**
* logs a message represented by an instance of {@link CategorizedMessage}
* under the corresponding logging category. The message parameters are
* merged in the message text if the message text contains corresponding
* placeholders (like {0},...)
*
* @param message
* @param messageParameter
*/
void log(CategorizedMessage message, Object... messageParameter);
void log(CategorizedMessage message);
void log(MessageCategory category, String subsystem, String subsystemPart, String messageId, String messageText);
void log(MessageCategory category, String subsystem, String subsystemPart, String messageId, String messageText,
Object... messageParameter);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy