From 7089f975e8dc12818dfdbb3ab83ca38e3168e7cf Mon Sep 17 00:00:00 2001 From: Peter Kotula Date: Fri, 14 Jul 2023 14:49:19 +0200 Subject: [PATCH] filter --- .../src/main/scala/zio/logging/FilterBenchmarks.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmarks/src/main/scala/zio/logging/FilterBenchmarks.scala b/benchmarks/src/main/scala/zio/logging/FilterBenchmarks.scala index 3cd0b3111..e1106ae5c 100644 --- a/benchmarks/src/main/scala/zio/logging/FilterBenchmarks.scala +++ b/benchmarks/src/main/scala/zio/logging/FilterBenchmarks.scala @@ -38,7 +38,7 @@ class FilterBenchmarks { } ) Runtime.removeDefaultLoggers >>> makeSystemOutLogger(LogFormat.default.toLogger) - .map(logger => FilteredLogger(logger, filter)) + .filter(filter) .install } @@ -55,7 +55,7 @@ class FilterBenchmarks { .toFilter Runtime.removeDefaultLoggers >>> makeSystemOutLogger(LogFormat.default.toLogger) - .map(logger => FilteredLogger(logger, filter)) + .filter(filter) .install } @@ -73,7 +73,7 @@ class FilterBenchmarks { .cached Runtime.removeDefaultLoggers >>> makeSystemOutLogger(LogFormat.default.toLogger) - .map(logger => FilteredLogger(logger, filter)) + .filter(filter) .install }