Class Log<T>

    • Constructor Detail

      • Log

        public Log​(java.lang.String name,
                   scala.Function1<T,​java.lang.Object> extract,
                   scala.Option<LoggingAdapter> logAdapter)
    • Method Detail

      • fromMaterializer

        public static final java.lang.Object fromMaterializer()
        Must be located here to be visible for implicit resolution, when Materializer is passed to Logging More specific LogSource than fromString, which would add the ActorSystem name in addition to the supervision to the log source.
        Returns:
        (undocumented)
      • apply

        public static <T> Log<T> apply​(java.lang.String name,
                                       scala.Function1<T,​java.lang.Object> extract,
                                       scala.Option<LoggingAdapter> logAdapter)
      • unapply

        public static <T> scala.Option<scala.Tuple3<java.lang.String,​scala.Function1<T,​java.lang.Object>,​scala.Option<LoggingAdapter>>> unapply​(Log<T> x$0)
      • named

        public static Graph<S,​M> named​(java.lang.String name)
      • async

        public static Graph<S,​M> async()
      • async

        public static Graph<S,​M> async​(java.lang.String dispatcher)
      • async

        public static Graph<S,​M> async​(java.lang.String dispatcher,
                                             int inputBufferSize)
      • addAttributes

        public static Graph<S,​M> addAttributes​(Attributes attr)
      • initialAttributes

        protected static Attributes initialAttributes()
      • withAttributes

        public static final Graph<S,​M> withAttributes​(Attributes attr)
      • createLogicAndMaterializedValue

        public static final scala.Tuple2<GraphStageLogic,​NotUsed> createLogicAndMaterializedValue​(Attributes inheritedAttributes)
      • in

        public static Inlet<T> in()
      • out

        public static Outlet<T> out()
      • shape

        public static FlowShape<T,​T> shape()
      • name

        public java.lang.String name()
      • extract

        public scala.Function1<T,​java.lang.Object> extract()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • copy

        public <T> Log<T> copy​(java.lang.String name,
                               scala.Function1<T,​java.lang.Object> extract,
                               scala.Option<LoggingAdapter> logAdapter)
      • copy$default$1

        public <T> java.lang.String copy$default$1()
      • copy$default$2

        public <T> scala.Function1<T,​java.lang.Object> copy$default$2()
      • copy$default$3

        public <T> scala.Option<LoggingAdapter> copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        Overrides:
        equals in class java.lang.Object