
com.contentful.java.cda.Logger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Contentful's Content Delivery API.
package com.contentful.java.cda;
/**
* Custom logger interface, used for logging network traffic.
*/
public interface Logger {
/**
* Determine the level of logging
*/
enum Level {
/**
* Do not log anything.
*/
NONE,
/**
* Do basic logging, not all requests will be logged.
*/
BASIC,
/**
* Log all requests.
*/
FULL
}
/**
* Abstract method to be implemented by client.
*
* This method gets called, once an event needs to
*
* @param message to be delivered to the logger.
*/
void log(String message);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy