
com.tiscover.logging.observer.DefaultEnabledObserver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of logging Show documentation
Show all versions of logging Show documentation
Tiscover-Logging is a simple library that connects your java application directly to graphite for a numerical overview of the System and to Logstash/Elkstack for error-messages or other textual logging
The newest version!
package com.tiscover.logging.observer;
public class DefaultEnabledObserver implements EnabledObserver {
private final boolean value;
public DefaultEnabledObserver(boolean defaultValue) {
value = defaultValue;
}
public DefaultEnabledObserver() {
this(true);
}
@Override
public boolean isEnabled() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy