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

org.mp4parser.support.AndroidLogger Maven / Gradle / Ivy

Go to download

A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)

There is a newer version: 1.9.56
Show newest version
package org.mp4parser.support;

import android.util.Log;

/**
 * Logs on Android.
 */
public class AndroidLogger extends Logger {
    private static final String TAG = "isoparser";
    String name;

    public AndroidLogger(String name) {
        this.name = name;
    }

    @Override
    public void logDebug(String message) {
        Log.d(TAG, name + ":" + message);
    }

    @Override
    public void logWarn(String message) {
        Log.w(TAG, name + ":" + message);
    }

    @Override
    public void logError(String message) {
        Log.e(TAG, name + ":" + message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy