diff --git a/README.MD b/README.MD index f5a01f1..1432f43 100644 --- a/README.MD +++ b/README.MD @@ -89,7 +89,8 @@ object SomeObject extends LoggingSupport { _ <- ZIO.sleep(8.millis).perfLog( // See below for more examples with `LogSpec` LogSpec.onSucceed[Int]((d, i) => debug"Finally done with $i after ${d.render}") - .withThreshold(5.millis)) + .withThreshold(5.millis) + ) } yield () } } diff --git a/src/test/scala/com/github/mlangc/slf4zio/ReadmeExamplesTest.scala b/src/test/scala/com/github/mlangc/slf4zio/ReadmeExamplesTest.scala index ae00649..a8e1087 100644 --- a/src/test/scala/com/github/mlangc/slf4zio/ReadmeExamplesTest.scala +++ b/src/test/scala/com/github/mlangc/slf4zio/ReadmeExamplesTest.scala @@ -62,7 +62,8 @@ object ReadmeExamplesTest extends DefaultRunnableSpec { _ <- ZIO.sleep(8.millis).perfLog( // See below for more examples with `LogSpec` LogSpec.onSucceed[Int]((d, i) => debug"Finally done with $i after ${d.render}") - .withThreshold(5.millis)) + .withThreshold(5.millis) + ) } yield () } }