com.github.thorbenkuck.netcom2.interfaces.Loggable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of NetCom2 Show documentation
Show all versions of NetCom2 Show documentation
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