Skip to content

Commit

Permalink
log4cats to typelevel (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericaovo authored Apr 6, 2021
1 parent 35b4cda commit fadaf1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ lazy val metricsCommon = project
.enablePlugins(GitVersioning)
.settings(common :+ (name := "metrics-common"))

val log4catsVersion = "1.1.1"
val log4catsVersion = "1.2.2"
val natchezVersion = "0.0.19"
val http4sVersion = "0.21.16"
val circeVersion = "0.13.0"
Expand Down Expand Up @@ -89,7 +89,7 @@ lazy val natchezLog4Cats = project
.settings(
libraryDependencies ++= Seq(
"org.tpolecat" %% "natchez-core" % natchezVersion,
"io.chrisdavenport" %% "log4cats-core" % log4catsVersion
"org.typelevel" %% "log4cats-core" % log4catsVersion
)
)

Expand Down Expand Up @@ -180,7 +180,7 @@ lazy val docs = project
"org.http4s" %% "http4s-blaze-client" % http4sVersion,
"org.http4s" %% "http4s-blaze-server" % http4sVersion,
"org.tpolecat" %% "doobie-postgres" % doobieVersion,
"io.chrisdavenport" %% "log4cats-slf4j" % log4catsVersion
"org.typelevel" %% "log4cats-slf4j" % log4catsVersion
)
)

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/docs/natchez-log4cats.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import cats.data.Kleisli
import cats.effect.{ExitCode, IO, IOApp, Resource}
import com.ovoenergy.effect.TracedLogger
import com.ovoenergy.effect.natchez.Datadog
import io.chrisdavenport.log4cats.StructuredLogger
import io.chrisdavenport.log4cats.slf4j.Slf4jLogger
import org.typelevel.log4cats.StructuredLogger
import org.typelevel.log4cats.slf4j.Slf4jLogger
import natchez.{EntryPoint, Span, Trace}
import org.http4s.client.blaze.BlazeClientBuilder
import cats.syntax.functor._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import cats.data.Kleisli
import cats.effect.Sync
import cats.syntax.flatMap._
import cats.syntax.functor._
import io.chrisdavenport.log4cats.StructuredLogger
import org.typelevel.log4cats.StructuredLogger
import natchez.{Kernel, Span, Trace}

object TracedLogger {
Expand Down

0 comments on commit fadaf1b

Please sign in to comment.