Class DebugLogger
java.lang.Object
org.springframework.boot.loader.log.DebugLogger
Simple logger class used for
System.err debugging.- Since:
- 3.2.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DebugLoggerGet aDebugLoggerto log messages for the given source class.abstract voidLog a message.abstract voidLog a formatted message.abstract voidLog a formatted message.abstract voidLog a formatted message.abstract voidLog a formatted message.
-
Constructor Details
-
DebugLogger
public DebugLogger()
-
-
Method Details
-
log
Log a message.- Parameters:
message- the message to log
-
log
Log a formatted message.- Parameters:
message- the message to logarg1- the first format argument
-
log
Log a formatted message.- Parameters:
message- the message to logarg1- the first format argumentarg2- the second format argument
-
log
Log a formatted message.- Parameters:
message- the message to logarg1- the first format argumentarg2- the second format argumentarg3- the third format argument
-
log
Log a formatted message.- Parameters:
message- the message to logarg1- the first format argumentarg2- the second format argumentarg3- the third format argumentarg4- the fourth format argument
-
get
Get aDebugLoggerto log messages for the given source class.- Parameters:
sourceClass- the source class- Returns:
- a
DebugLoggerinstance
-