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

com.googlecode.mp4parser.util.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.1.22
Show newest version
package com.googlecode.mp4parser.util;

import android.util.Log;

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

    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