com.clumd.projects.java_custom_logging.logging.api.CustomLogHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-custom-logging Show documentation
Show all versions of java-custom-logging Show documentation
A custom implementation of the SLF4J interface, but with bonuses for using it directly
The newest version!
package com.clumd.projects.java_custom_logging.logging.api;
import lombok.NonNull;
import java.util.Map;
import java.util.UUID;
/**
* An Interface to ensure that a custom Log Controller instance is capable of accepting some variables which should
* included in logs.
*/
public interface CustomLogHandler {
/**
* A method to act as an initialiser for any Custom Log Controller
*
* @param specificRunID A unique identifier for any given specific 'run' of the system.
* @param systemID An identifier for the hostname of the hardware running this instance.
* @param overriddenThreadNames A map between ThreadIDs and their human-readable names, perhaps describing what they
* do.
*/
void acceptLogRootRefs(@NonNull final UUID specificRunID, @NonNull final String systemID, @NonNull final Map overriddenThreadNames);
}