Add a new module to take care of logging

It is based on outr/scribe; mainly providing a json log format and
much easier configuration.
This commit is contained in:
eikek
2022-02-19 02:18:25 +01:00
parent 9239ca9ae6
commit 6442771270
11 changed files with 587 additions and 0 deletions

View File

@ -9,6 +9,8 @@ object Dependencies {
val BetterMonadicForVersion = "0.3.1"
val BinnyVersion = "0.3.0"
val CalevVersion = "0.6.1"
val CatsVersion = "2.7.0"
val CatsEffectVersion = "3.3.5"
val CatsParseVersion = "0.3.6"
val CirceVersion = "0.14.1"
val ClipboardJsVersion = "2.0.6"
@ -40,6 +42,7 @@ object Dependencies {
val PureConfigVersion = "0.17.1"
val ScalaJavaTimeVersion = "2.3.0"
val ScodecBitsVersion = "1.1.30"
val ScribeVersion = "3.7.0"
val Slf4jVersion = "1.7.36"
val StanfordNlpVersion = "4.4.0"
val TikaVersion = "2.3.0"
@ -49,6 +52,11 @@ object Dependencies {
val TwelveMonkeysVersion = "3.8.1"
val JQueryVersion = "3.5.1"
val scribe = Seq(
"com.outr" %% "scribe" % ScribeVersion,
"com.outr" %% "scribe-slf4j" % ScribeVersion
)
val jwtScala = Seq(
"com.github.jwt-scala" %% "jwt-circe" % JwtScalaVersion
)
@ -67,6 +75,14 @@ object Dependencies {
"com.dimafeng" %% "testcontainers-scala-postgresql" % TestContainerVersion
)
val cats = Seq(
"org.typelevel" %% "cats-core" % CatsVersion
)
val catsEffect = Seq(
"org.typelevel" %% "cats-effect" % CatsEffectVersion
)
val catsParse = Seq(
"org.typelevel" %% "cats-parse" % CatsParseVersion
)