-
Notifications
You must be signed in to change notification settings - Fork 178
riverlog testing #976
Closed
Description
Currently, the River log example looks like this:
riverlog.Logger(ctx).Info("Logged from worker")
If I want to write unit tests for this code, how do I get a context with a logger attached? I couldn't find an easy way to do this in the current API.
Activity
Metadata
Metadata
Assignees
Labels
No labels