All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.contentful.java.cda.Logger Maven / Gradle / Ivy

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 - 2024 Weber Informatics LLC | Privacy Policy