![JAR search and dependency download from the Maven repository](/logo.png)
smetana.core.debug.SmetanaDebugSlow Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package smetana.core.debug;
public final class SmetanaDebugSlow {
// ::remove file when __CORE__
// ::comment when __CORE__
public static boolean TRACE = false;
public static boolean TRACE_FINAL_CALL = false;
public static boolean VERY_VERBOSE = false;
private static Purify purify;
private static Purify purify() {
if (purify == null)
purify = new Purify();
return purify;
}
static public void LOG(String s) {
// ::comment when __CORE__
if (TRACE)
purify().logline(s);
}
static public void ENTERING(String signature, String methodName) {
// ::comment when __CORE__
if (TRACE)
purify().entering(signature, methodName);
}
static public void LEAVING(String signature, String methodName) {
// ::comment when __CORE__
if (TRACE)
purify().leaving(signature, methodName);
}
public static void reset() {
// ::comment when __CORE__
if (TRACE)
purify().reset();
}
public static void printMe() {
// ::comment when __CORE__
if (TRACE && TRACE_FINAL_CALL)
purify().printMe();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy