LogMapping

public class LogMapping

The LogMapping class is used for mapping logger objects from the saved log4j properties.

Constructors

LogMapping

public LogMapping()

LogMapping

public LogMapping(String logName, String logLevel)

Methods

equals

public boolean equals(Object obj)

getLogLevel

public String getLogLevel()
Returns:the log level for the logger represented by this mapping

getLogName

public String getLogName()
Returns:the name of the logger represented by this mapping

hashCode

public int hashCode()

setLogLevel

public void setLogLevel(String logLevel)
Parameters:
  • logLevel – the log level for the logger represented by this mapping

setLogName

public void setLogName(String logName)
Parameters:
  • logName – the name of the logger represented by this mapping

toString

public String toString()