From 17e9f98513d6094efa51c9a09d013faefc76252d Mon Sep 17 00:00:00 2001 From: Kevin Lee Date: Sat, 29 Jul 2023 19:11:23 +1000 Subject: [PATCH] Close #463 - Add more information for @implicitNotFound on Log --- .../shared/src/main/scala-2/loggerf/core/Log.scala | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/logger-f-core/shared/src/main/scala-2/loggerf/core/Log.scala b/modules/logger-f-core/shared/src/main/scala-2/loggerf/core/Log.scala index 6bf693d5..908d13d1 100644 --- a/modules/logger-f-core/shared/src/main/scala-2/loggerf/core/Log.scala +++ b/modules/logger-f-core/shared/src/main/scala-2/loggerf/core/Log.scala @@ -17,6 +17,18 @@ import scala.annotation.implicitNotFound --- import loggerf.instances.cats._ --- + ----- + If this doesn't solve, you probably need a CanLog instance. + To create it, please check out the following document. + + https://logger-f.kevinly.dev/docs/cats/import#canlog-logger + + ----- + If it doesn't solve, it's probably because of missing an Fx[F] instance. + + You can simply import the Fx[F] instance of your effect library. + Please check out the message of @implicitNotFound annotation on effectie.core.Fx. + """ ) trait Log[F[*]] {