Class SolLogger

java.lang.Object
net.lcc.sollib.api.common.logger.SolLogger

public class SolLogger extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final <T, E> T
    debug(T message, E... extra)
    Displays a blank space between each value
    final <T, E> T
    error(T message, E... extra)
    Displays a blank space between each value
    final <T, E> T
    info(T message, E... extra)
    Displays a blank space between each value
    final <T, E> T
    warn(T message, E... extra)
    Displays a blank space between each value

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SolLogger

      public SolLogger(String name)
      Parameters:
      name - The logger's name
  • Method Details

    • info

      @SafeVarargs public final <T, E> T info(T message, E... extra)
      Displays a blank space between each value
      Parameters:
      message - The first value to log, which will be returned
      extra - Any number of optional arguments to be logged alongside
      Returns:
      The first parameter
    • warn

      @SafeVarargs public final <T, E> T warn(T message, E... extra)
      Displays a blank space between each value
      Parameters:
      message - The first value to log, which will be returned
      extra - Any number of optional arguments to be logged alongside
      Returns:
      The first parameter
    • error

      @SafeVarargs public final <T, E> T error(T message, E... extra)
      Displays a blank space between each value
      Parameters:
      message - The first value to log, which will be returned
      extra - Any number of optional arguments to be logged alongside
      Returns:
      The first parameter
    • debug

      @SafeVarargs public final <T, E> T debug(T message, E... extra)
      Displays a blank space between each value
      Parameters:
      message - The first value to log, which will be returned
      extra - Any number of optional arguments to be logged alongside
      Returns:
      The first parameter