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

@ -313,6 +313,19 @@ val common = project
Dependencies.calevCirce
)
val logging = project
.in(file("modules/logging"))
.disablePlugins(RevolverPlugin)
.settings(sharedSettings)
.settings(testSettingsMUnit)
.settings(
name := "docspell-logging",
libraryDependencies ++=
Dependencies.scribe ++
Dependencies.catsEffect ++
Dependencies.circeCore
)
val config = project
.in(file("modules/config"))
.disablePlugins(RevolverPlugin)
@ -869,6 +882,7 @@ val root = project
)
.aggregate(
common,
logging,
config,
extract,
convert,