Class DebugLogger
java.lang.Object
org.springframework.boot.loader.log.DebugLogger
Simple logger class used for
System.err
debugging.- Since:
- 3.2.0
- Author:
- Phillip Webb
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DebugLogger
Get aDebugLogger
to log messages for the given source class.abstract void
Log a message.abstract void
Log a formatted message.abstract void
Log a formatted message.abstract void
Log a formatted message.abstract void
Log 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 aDebugLogger
to log messages for the given source class.- Parameters:
sourceClass
- the source class- Returns:
- a
DebugLogger
instance
-