public class LocalizedMarker extends Object implements org.slf4j.Marker
LocalizableMessage
and does not allow to manage references to other markers.Constructor and Description |
---|
LocalizedMarker(LocalizableMessage message)
Create a marker with provided localizable message.
|
Modifier and Type | Method and Description |
---|---|
void |
add(org.slf4j.Marker reference) |
boolean |
contains(org.slf4j.Marker other) |
boolean |
contains(String name) |
LocalizableMessage |
getMessage()
Returns the message embedded into this marker.
|
String |
getName() |
boolean |
hasChildren() |
boolean |
hasReferences() |
Iterator<?> |
iterator() |
boolean |
remove(org.slf4j.Marker reference) |
public LocalizedMarker(LocalizableMessage message)
Name of the marker is the resource name provided by the message.
message
- Message embedded into this marker.public LocalizableMessage getMessage()
public void add(org.slf4j.Marker reference)
add
in interface org.slf4j.Marker
public boolean remove(org.slf4j.Marker reference)
remove
in interface org.slf4j.Marker
public boolean hasChildren()
hasChildren
in interface org.slf4j.Marker
public boolean hasReferences()
hasReferences
in interface org.slf4j.Marker
public boolean contains(org.slf4j.Marker other)
contains
in interface org.slf4j.Marker
Copyright 2011-2015 ForgeRock AS.