![JAR search and dependency download from the Maven repository](/logo.png)
shiver.me.timbers.plugins.invoker.multi.LogLevel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multi-invoker-maven-plugin Show documentation
Show all versions of multi-invoker-maven-plugin Show documentation
This plugin can be used to invoke the current maven project multiple times with different profiles or
properties.
The newest version!
package shiver.me.timbers.plugins.invoker.multi;
import static java.lang.String.format;
/**
* @author Karl Bennett
*/
enum LogLevel {
DEBUG(0, "DEBUG"),
INFO(1, "INFO"),
WARN(2, "WARNING"),
ERROR(3, "ERROR"),
FATAL(4, "FATAL"),
DISABLED(5, "DISABLED");
private final int threshold;
private final String longName;
LogLevel(int threshold, String longName) {
this.threshold = threshold;
this.longName = longName;
}
public int getThreshold() {
return threshold;
}
public String longName() {
return longName;
}
public String prefix() {
return format("[%s]", longName());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy