com.virjar.sekiro.log.SystemOutLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sekiro-api Show documentation
Show all versions of sekiro-api Show documentation
ratel api,used for developer on ratel system,an extension for xposed framewrok,ratel api compatable with original xposed framework
package com.virjar.sekiro.log;
public class SystemOutLogger implements ILogger {
@Override
public void info(String msg) {
System.out.println(msg);
}
@Override
public void info(String msg, Throwable throwable) {
System.out.println(msg);
throwable.printStackTrace(System.out);
}
@Override
public void warn(String msg) {
System.out.println(msg);
}
@Override
public void warn(String msg, Throwable throwable) {
System.out.println(msg);
throwable.printStackTrace(System.out);
}
@Override
public void error(String msg) {
System.err.println(msg);
}
@Override
public void error(String msg, Throwable throwable) {
System.err.println(msg);
throwable.printStackTrace(System.err);
}
}