// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/LoadedFrom.java
// public enum LoadedFrom {
//     MEMORY,
//     DISK,
//     NETWORK
// }
// 
// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/LogAppender.java
// public interface LogAppender {
// 
//     /**
//      * Write given log entry.
//      *
//      * @param level the log level ({@link android.util.Log#DEBUG}, {@link android.util.Log#INFO}, etc.)
//      * @param tag the log tag string
//      * @param message the log message
//      * @param error optional: the error logged
//      */
//     void log(int level, String tag, String message, Throwable error);
// 
//     /**
//      * Image load operation complete.
//      *
//      * @param url the url of the image
//      * @param specKey the spec of the image load request
//      * @param from from where the image was loaded (MEMORY/DISK/NETWORK)
//      * @param successful was the image load successful
//      * @param time the time in milliseconds it took from request to finish
//      */
//     void imageLoadOperation(String url, String specKey, LoadedFrom from, boolean successful, long time);
// 
//     /**
//      * Image download operation complete.
//      *
//      * @param url the url of the image
//      * @param specKey the spec of the image load request
//      * @param responseCode the response code of the download web request
//      * @param time the time in milliseconds it took to download the image
//      * @param bytes the number of bytes received if download was successful
//      * @param error optional: if download failed will contain the error
//      */
//     void imageDownloadOperation(String url, String specKey, int responseCode, long time, long bytes, Throwable error);
// }


import com.theartofdev.fastimageloader.LoadedFrom;
import com.theartofdev.fastimageloader.LogAppender;
import android.util.Log;
// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"

package com.theartofdev.fastimageloader.impl.util;



/**
 * Logger for Fast Image Loader internal use only.
 */
public final class FILLogger {

    /**
     * The tag to use for all logs
     */
    private static final String TAG = "FastImageLoader";

    /**
     * If to write logs to logcat.
     */
    public static boolean mLogcatEnabled = false;

    /**
     * Extensibility appender to write the logs to.
     */
// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/LoadedFrom.java
// public enum LoadedFrom {
//     MEMORY,
//     DISK,
//     NETWORK
// }
// 
// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/LogAppender.java
// public interface LogAppender {
// 
//     /**
//      * Write given log entry.
//      *
//      * @param level the log level ({@link android.util.Log#DEBUG}, {@link android.util.Log#INFO}, etc.)
//      * @param tag the log tag string
//      * @param message the log message
//      * @param error optional: the error logged
//      */
//     void log(int level, String tag, String message, Throwable error);
// 
//     /**
//      * Image load operation complete.
//      *
//      * @param url the url of the image
//      * @param specKey the spec of the image load request
//      * @param from from where the image was loaded (MEMORY/DISK/NETWORK)
//      * @param successful was the image load successful
//      * @param time the time in milliseconds it took from request to finish
//      */
//     void imageLoadOperation(String url, String specKey, LoadedFrom from, boolean successful, long time);
// 
//     /**
//      * Image download operation complete.
//      *
//      * @param url the url of the image
//      * @param specKey the spec of the image load request
//      * @param responseCode the response code of the download web request
//      * @param time the time in milliseconds it took to download the image
//      * @param bytes the number of bytes received if download was successful
//      * @param error optional: if download failed will contain the error
//      */
//     void imageDownloadOperation(String url, String specKey, int responseCode, long time, long bytes, Throwable error);
// }


// Path: fastimageloader/src/main/java/com/theartofdev/fastimageloader/impl/util/FILLogger.java
import com.theartofdev.fastimageloader.LoadedFrom;
import com.theartofdev.fastimageloader.LogAppender;
import android.util.Log;

// "Therefore those skilled at the unorthodox
// are infinite as heaven and earth,
// inexhaustible as the great rivers.
// When they come to an end,
// they begin again,
// like the days and months;
// they die and are reborn,
// like the four seasons."
//
// - Sun Tsu,
// "The Art of War"

package com.theartofdev.fastimageloader.impl.util;



/**
 * Logger for Fast Image Loader internal use only.
 */
public final class FILLogger {

    /**
     * The tag to use for all logs
     */
    private static final String TAG = "FastImageLoader";

    /**
     * If to write logs to logcat.
     */
    public static boolean mLogcatEnabled = false;

    /**
     * Extensibility appender to write the logs to.
     */
    public static LogAppender mAppender;