Package org.apache.logging.log4j.message
Interface LoggerNameAwareMessage
- All Known Implementing Classes:
LocalizedMessage
public interface LoggerNameAwareMessage
Message that is interested in the name of the Logger.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the Logger.void
setLoggerName
(String name) The name of the Logger.
-
Method Details
-
setLoggerName
The name of the Logger.- Parameters:
name
- The name of the Logger.
-
getLoggerName
String getLoggerName()Returns the name of the Logger.- Returns:
- The name of the Logger.
-