Effect CommunityEC
Effect Community3y ago
95 replies
carlovassallo

Using the Logger Interface for Generic Messages in Log Functions

I've seen that the Logger interface is generic on the Message but all log function accept only strings. Is there a proper way to make use of that generic? I though of adding a symbol to my logger so that I can distinguish it when looking into the fiberRef but that would mean to duplicate the code of Effect.log
Was this page helpful?