Class DebugLogger

java.lang.Object
org.springframework.boot.loader.log.DebugLogger

public abstract sealed class DebugLogger extends Object
Simple logger class used for System.err debugging.
Since:
3.2.0
Author:
Phillip Webb
  • Constructor Details

    • DebugLogger

      public DebugLogger()
  • Method Details

    • log

      public abstract void log(String message)
      Log a message.
      Parameters:
      message - the message to log
    • log

      public abstract void log(String message, Object arg1)
      Log a formatted message.
      Parameters:
      message - the message to log
      arg1 - the first format argument
    • log

      public abstract void log(String message, Object arg1, Object arg2)
      Log a formatted message.
      Parameters:
      message - the message to log
      arg1 - the first format argument
      arg2 - the second format argument
    • log

      public abstract void log(String message, Object arg1, Object arg2, Object arg3)
      Log a formatted message.
      Parameters:
      message - the message to log
      arg1 - the first format argument
      arg2 - the second format argument
      arg3 - the third format argument
    • log

      public abstract void log(String message, Object arg1, Object arg2, Object arg3, Object arg4)
      Log a formatted message.
      Parameters:
      message - the message to log
      arg1 - the first format argument
      arg2 - the second format argument
      arg3 - the third format argument
      arg4 - the fourth format argument
    • get

      public static DebugLogger get(Class<?> sourceClass)
      Get a DebugLogger to log messages for the given source class.
      Parameters:
      sourceClass - the source class
      Returns:
      a DebugLogger instance