diff --git a/build.sbt b/build.sbt index 225f0feb0..4f476ee48 100644 --- a/build.sbt +++ b/build.sbt @@ -3,10 +3,8 @@ import sbt.ModuleID import org.typelevel.scalacoptions.{ScalacOption, ScalaVersion, ScalacOptions} import scala.Ordering.Implicits._ -ThisBuild / useLog4J := false - lazy val defaultSettings = Seq( - scalaVersion := Version.scala3, + scalaVersion := Version.scala213, scalacWarningConfig, Test / tpolecatExcludeOptions += ScalacOptions.warnNonUnitStatement, Compile / doc / tpolecatExcludeOptions ++= Set(ScalacOptions.fatalWarnings, ScalacOptions.warnError), diff --git a/modules/interop/zio2/logging/src/test/scala-2/tofu/logging/zlogs/ZLogsSpec.scala b/modules/interop/zio2/logging/src/test/scala-2/tofu/logging/zlogs/ZLogsSpec.scala index 03b183988..c49103036 100644 --- a/modules/interop/zio2/logging/src/test/scala-2/tofu/logging/zlogs/ZLogsSpec.scala +++ b/modules/interop/zio2/logging/src/test/scala-2/tofu/logging/zlogs/ZLogsSpec.scala @@ -50,7 +50,8 @@ case object ZLogsSpec extends ZIOSpecDefault { testCount ) }.provide( - Runtime.removeDefaultLoggers >>> TofuZLogger.addToRuntime, + Runtime.removeDefaultLoggers, + TofuZLogger.addToRuntime, LogAppender.layer(loggerName) ), test("TofuZLogger uses user-defined logger name") { @@ -69,7 +70,8 @@ case object ZLogsSpec extends ZIOSpecDefault { } ) @@ ZLogAnnotation.loggerName(myLoggerName) }.provide( - Runtime.removeDefaultLoggers >>> TofuZLogger.addToRuntime, + Runtime.removeDefaultLoggers, + TofuZLogger.addToRuntime, LogAppender.layer(myLoggerName) ), test("ZLogs") {