Skip to content

Commit

Permalink
Make LoggingEnv arg covariant
Browse files Browse the repository at this point in the history
  • Loading branch information
mvv committed May 21, 2020
1 parent c4abb5f commit cd0e97c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -104,7 +104,7 @@ lazy val sager = (project in file("sager"))
name := "zilog-sager",
description := "Using generic records to carry logging service in environment",
libraryDependencies ++=
Seq(zio % Provided, "com.github.mvv.sager" %% "sager-zio" % "0.1-M2")
Seq(zio % Provided, "com.github.mvv.sager" %% "sager-zio" % "0.1-M3")
)
.settings(macroSettings: _*)
.settings(zioTestSettings: _*)
Expand Down
Expand Up @@ -10,7 +10,7 @@ import zio.{UIO, ULayer, URLayer, ZLayer}

package object sager {
type Logging = Haz[zilog.Logging.Service]
type LoggingEnv[A <: zilog.Logging.Service] = Env[zilog.Logging.Service, A]
type LoggingEnv[+A <: zilog.Logging.Service] = Env[zilog.Logging.Service, A]
val Logging: zilog.Logging.type = zilog.Logging
type Logger = zilog.Logger
val Logger: zilog.Logger.type = zilog.Logger
Expand Down

0 comments on commit cd0e97c

Please sign in to comment.