org.xwiki.logging.marker
Class TranslationMarker
java.lang.Object
org.xwiki.logging.marker.AbstractContainerMarker
org.xwiki.logging.marker.TranslationMarker
- All Implemented Interfaces:
- Serializable, org.slf4j.Marker, ContainerMarker
- Direct Known Subclasses:
- BeginTranslationMarker, EndTranslationMarker, TranslationMarker
public class TranslationMarker
- extends AbstractContainerMarker
Allows associating a translation key to a log.
- Since:
- 5.4M1
- Version:
- $Id: 9c32e7c847a6800f53438d1ea2cf690ff19a17b4 $
- See Also:
- Serialized Form
| Fields inherited from interface org.slf4j.Marker |
ANY_MARKER, ANY_NON_NULL_MARKER |
NAME
public static final String NAME
- The marker name.
- See Also:
- Constant Field Values
TranslationMarker
public TranslationMarker(String translationKey)
- Parameters:
translationKey - the translation key to associate to the log
TranslationMarker
public TranslationMarker(String translationKey,
org.slf4j.Marker... references)
- Parameters:
translationKey - the translation key to associate to the logreferences - the other associated markers
getTranslationKey
public String getTranslationKey()
- Returns:
- the translation key associate to the log
hashCode
public int hashCode()
- Specified by:
hashCode in interface org.slf4j.Marker- Overrides:
hashCode in class AbstractContainerMarker
equals
public boolean equals(Object other)
- Specified by:
equals in interface org.slf4j.Marker- Overrides:
equals in class AbstractContainerMarker
Copyright © 2004–2014 XWiki. All rights reserved.