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

com.clumd.projects.java_custom_logging.logging.api.LogLevel Maven / Gradle / Ivy

Go to download

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 java.io.Serializable;

/**
 * Define a custom extended LogLevel which should always extend {@link java.util.logging.Level}, but provide some
 * additional fields and functionality.
 */
public interface LogLevel extends Serializable {

    /**
     * Get the name of this Log Level.
     *
     * @return The Name of this Custom Log Level
     */
    String getLevelName();

    /**
     * Get the priority of this Log Level
     *
     * @return The priority of this Log Level
     */
    int getPriority();

    /**
     * Get the formatting this Log Level should be displayed with
     *
     * @return The escape codes required to display log messages at this Log Level.
     */
    String getLevelFormat();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy