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

com.g2forge.alexandria.java.debug.HDebug Maven / Gradle / Ivy

There is a newer version: 0.0.18
Show newest version
package com.g2forge.alexandria.java.debug;

import com.g2forge.alexandria.java.marker.Helpers;

import lombok.experimental.UtilityClass;

@Helpers
@UtilityClass
public class HDebug {
	protected static boolean isDebugEnabled;

	static {
		final String string = System.getProperty(HDebug.class.getName() + ".isDebugEnabled");
		if (string == null) isDebugEnabled = false;
		else isDebugEnabled = Boolean.valueOf(string);
	}

	public static boolean isDebugEnabled() {
		return isDebugEnabled;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy