Interface ILogColorProvider

All Known Implementing Classes:
DefaultLogColorProvider

public interface ILogColorProvider
A public Interface for providing color codes based on log levels.

This interface defines a method to retrieve color codes for various log levels. Implementations should provide the appropriate color codes for each log level to enhance the readability of log messages.

Key Methods:

Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    getColor(Level pLevel)
    A String that provides the color code for the specified Level.
  • Method Details

    • getColor

      String getColor(Level pLevel)
      A String that provides the color code for the specified Level.

      Implementations should return a color code suitable for displaying log messages with the given log level.

      Parameters:
      pLevel - Level - The log level for which to retrieve the color code.
      Returns:
      The color code as a String for the specified log level.
      Since:
      1.0.0