com.googlecode.mp4parser.util.Logger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of isoparser Show documentation
Show all versions of isoparser Show documentation
A generic parser and writer for all ISO 14496 based files (MP4, Quicktime, DCF, PDCF, ...)
package com.googlecode.mp4parser.util;
public abstract class Logger {
public static Logger getLogger(Class clz) {
if (System.getProperty("java.vm.name").equalsIgnoreCase("Dalvik")) {
return new AndroidLogger(clz.getSimpleName());
} else {
return new JuliLogger(clz.getSimpleName());
}
}
public abstract void logDebug(String message);
public abstract void logWarn(String message);
public abstract void logError(String message);
}