@tino415 I think you misunderstood my suggestion. I believe that the function you’re trying to implement is a specialization of logShow, so you can just write logShow where you want to use affLog.
Also, you don’t need all that boilerplate to convert Effect to Aff. There’s a simple function to do that: liftEffect. To be more precise, any type which has a MonadEffect instance can be lifted from an Effect using liftEffect. And since logShow requires a MonadEffect instance, any type which has a MonadEffect instance can use logShow directly, so you don’t even need liftEffect here!
Make sure you have the correct logShow imported: Effect.Class.Console logShow (and not the one from Effect.Console) as logShow from there should work on its own without lifting