Package org.opencms.main
Class CmsDuplicateRemovingLogBuffer.Entry
- java.lang.Object
-
- org.opencms.main.CmsDuplicateRemovingLogBuffer.Entry
-
- Enclosing class:
- CmsDuplicateRemovingLogBuffer
public static class CmsDuplicateRemovingLogBuffer.Entry extends java.lang.Object
Entry to write to the log.
-
-
Constructor Summary
Constructors Constructor Description Entry(java.lang.String channel, java.lang.String level, java.lang.String message)Creates a new entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetChannel()Gets the log channel.java.lang.StringgetLevel()Gets the log level.java.lang.StringgetMessage()Gets the log message.inthashCode()
-
-
-
Constructor Detail
-
Entry
public Entry(java.lang.String channel, java.lang.String level, java.lang.String message)
Creates a new entry.- Parameters:
channel- the log channellevel- the log levelmessage- the log message
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object- See Also:
Object.equals(java.lang.Object)
-
getChannel
public java.lang.String getChannel()
Gets the log channel.- Returns:
- the log channel
-
getLevel
public java.lang.String getLevel()
Gets the log level.- Returns:
- the log level
-
getMessage
public java.lang.String getMessage()
Gets the log message.- Returns:
- the log message
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object- See Also:
Object.hashCode()
-
-