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

com.tiscover.logging.observer.DefaultEnabledObserver Maven / Gradle / Ivy

Go to download

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