zio / zio-logging

Powerful logging for ZIO 2.0 applications, with compatibility with many logging backends out-of-the-box.
https://zio.dev/zio-logging/
Apache License 2.0
174 stars 81 forks source link

class TypesafeConfigProvider is not found #791

Closed gvlpedro closed 10 months ago

gvlpedro commented 10 months ago

I am trying to use the File logger from this example: https://zio.dev/zio-logging/file-logger#file-logger

This class is not found: import zio.config.typesafe.TypesafeConfigProvider

I used the following dependencies: "dev.zio" %% "zio-logging" % "2.1.15", "dev.zio" %% "zio-config" % "3.0.7",

am I wrong? or I missing out something? thanks in advance

justcoon commented 10 months ago

hello @gvlpedro i think you have to use latest one https://github.com/zio/zio-config/releases/tag/v4.0.0-RC16 as there were noticeable changes due to integration of main Config interface directly to zio core library

gvlpedro commented 10 months ago

thanks @justcoon but I have the same problem with that version

justcoon commented 10 months ago

oh sorry, forgot to mention, that you need to have

"dev.zio" %% "zio-config-typesafe" % "4.0.0-RC16"
gvlpedro commented 10 months ago

thanks @justcoon, now works !