Package org.apache.pekko.event
Class LogMarker
- java.lang.Object
-
- org.apache.pekko.event.LogMarker
-
- Direct Known Subclasses:
Slf4jLogMarker
public class LogMarker extends java.lang.Object
DO NOT INHERIT: Class is open only for use by pekko-slf4j
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogMarker.Properties$
INTERNAL API
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static LogMarker
apply(java.lang.String name)
static LogMarker
apply(java.lang.String name, scala.collection.immutable.Map<java.lang.String,java.lang.Object> properties)
static LogMarker
create(java.lang.String name)
Java APIstatic LogMarker
create(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> properties)
Java APIstatic scala.Option<java.lang.String>
extractFromMDC(scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
Deprecated.use org.apache.pekko.event.LogEventWithMarker#marker instead.java.util.Map<java.lang.String,java.lang.Object>
getProperties()
Java APIjava.lang.String
name()
scala.collection.immutable.Map<java.lang.String,java.lang.Object>
properties()
java.lang.String
toString()
-
-
-
Method Detail
-
apply
public static LogMarker apply(java.lang.String name)
-
apply
public static LogMarker apply(java.lang.String name, scala.collection.immutable.Map<java.lang.String,java.lang.Object> properties)
-
create
public static LogMarker create(java.lang.String name)
Java API
-
create
public static LogMarker create(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> properties)
Java API
-
extractFromMDC
public static scala.Option<java.lang.String> extractFromMDC(scala.collection.immutable.Map<java.lang.String,java.lang.Object> mdc)
Deprecated.use org.apache.pekko.event.LogEventWithMarker#marker instead. Since Akka 2.5.12.
-
name
public java.lang.String name()
-
properties
public scala.collection.immutable.Map<java.lang.String,java.lang.Object> properties()
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Java API
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-