Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      LogMarker​(java.lang.String name)  
      LogMarker​(java.lang.String name, scala.collection.immutable.Map<java.lang.String,​java.lang.Object> properties)  
    • 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 API
      static LogMarker create​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.Object> properties)
      Java API
      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.
      java.util.Map<java.lang.String,​java.lang.Object> getProperties()
      Java API
      java.lang.String name()  
      scala.collection.immutable.Map<java.lang.String,​java.lang.Object> properties()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LogMarker

        public LogMarker​(java.lang.String name,
                         scala.collection.immutable.Map<java.lang.String,​java.lang.Object> properties)
      • LogMarker

        public LogMarker​(java.lang.String name)
    • 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 class java.lang.Object