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

com.github.thorbenkuck.netcom2.interfaces.Loggable Maven / Gradle / Ivy

Go to download

NetCom2 is a lightweight, yet highly modular Client-Server-Communication-Framework, in the style of an EventBus

The newest version!
package com.github.thorbenkuck.netcom2.interfaces;

import com.github.thorbenkuck.netcom2.logging.Logging;

/**
 * This interface describes, that the internally set {@link Logging} instance may be overridden separately.
 *
 * @version 1.0
 * @since 1.0
 */
public interface Loggable {

	/**
	 * Allows to override internally set Logging-instances.
	 * 

* By default, every component uses the {@link Logging#unified()}, therefore, by calling: *

* * Logging instance = ... * NetComLogging.setLogging(instance); * *

* you will update the internally used logging mechanisms of all components at the same time. * * @param logging the Logging instance that should be used. */ void setLogging(final Logging logging); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy