From 6a7488fa1999e61d6b71b8b071ba3a835011339f Mon Sep 17 00:00:00 2001 From: Andrew Bushmin Date: Wed, 23 May 2018 23:29:39 +0300 Subject: [PATCH 1/2] fix graph stage logging docs --- akka-docs/src/main/paradox/stream/stream-customize.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/stream/stream-customize.md b/akka-docs/src/main/paradox/stream/stream-customize.md index 22f03a109e..9e92afc603 100644 --- a/akka-docs/src/main/paradox/stream/stream-customize.md +++ b/akka-docs/src/main/paradox/stream/stream-customize.md @@ -301,8 +301,8 @@ In that sense, it serves a very similar purpose as `ActorLogging` does for Actor @@@ div { .group-java } -You can extend the `akka.stream.stage.GraphStageWithLogging` or `akka.strea.stage.TimerGraphStageWithLogging` classes -instead of the usual `GraphStage` to enable you to obtain a `LoggingAdapter` inside your stage as long as +You can extend the `akka.stream.stage.GraphStageLogicWithLogging` or `akka.stream.stage.TimerGraphStageLogicWithLogging` classes +instead of the usual `GraphStageLogic` to enable you to obtain a `LoggingAdapter` inside your stage as long as the `Materializer` you're using is able to provide you with a logger. @@@ From ea4fe1ba9961233f5d796b553c55255741d47a94 Mon Sep 17 00:00:00 2001 From: ortex Date: Fri, 25 May 2018 02:14:16 +0300 Subject: [PATCH 2/2] using unidoc for graph stage logging docs --- akka-docs/src/main/paradox/stream/stream-customize.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-docs/src/main/paradox/stream/stream-customize.md b/akka-docs/src/main/paradox/stream/stream-customize.md index 9e92afc603..59655d8f71 100644 --- a/akka-docs/src/main/paradox/stream/stream-customize.md +++ b/akka-docs/src/main/paradox/stream/stream-customize.md @@ -301,7 +301,7 @@ In that sense, it serves a very similar purpose as `ActorLogging` does for Actor @@@ div { .group-java } -You can extend the `akka.stream.stage.GraphStageLogicWithLogging` or `akka.stream.stage.TimerGraphStageLogicWithLogging` classes +You can extend the @unidoc[GraphStageLogicWithLogging] or @unidoc[TimerGraphStageLogicWithLogging] classes instead of the usual `GraphStageLogic` to enable you to obtain a `LoggingAdapter` inside your stage as long as the `Materializer` you're using is able to provide you with a logger.