io.smilego.tenant.logging.LogUtils Maven / Gradle / Ivy
package io.smilego.tenant.logging;
import java.io.PrintWriter;
import java.io.StringWriter;
public class LogUtils {
public static String getStackTrace(Throwable throwable) {
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw, true);
throwable.printStackTrace(pw);
return sw.getBuffer().toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy