Skip to content

Commit

Permalink
Revert cast logger fix error attempt.
Browse files Browse the repository at this point in the history
  • Loading branch information
Grryum committed Nov 22, 2023
1 parent e88a1c9 commit 927a9a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import sbt.ModuleID
import org.typelevel.scalacoptions.{ScalacOption, ScalaVersion, ScalacOptions}
import scala.Ordering.Implicits._

ThisBuild / useLog4J := false

lazy val defaultSettings = Seq(
scalaVersion := Version.scala3,
scalacWarningConfig,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand All @@ -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") {
Expand Down

0 comments on commit 927a9a8

Please sign in to comment.