// SPDX-FileCopyrightText: 2020 Roberto Posenato // // SPDX-License-Identifier: LGPL-3.0-or-later package it.univr.di; /** * Contains the static final boolean for enabling/disabling debug logging in all it.univr.di subpackages. This enum is used to control the debug mode throughout * the application. * *

Set {@code ON} to {@code false} to allow the compiler to identify and eliminate debug code.

* * @author posenato */ public enum Debug { // A class containing just a static constant can be represented as an enum. INSTANCE; // Using INSTANCE to follow enum conventions. /** * Set to {@code false} to allow the compiler to identify and eliminate debug code. */ public static final boolean ON = false; }