aboutsummaryrefslogtreecommitdiff
path: root/example/policies.go
diff options
context:
space:
mode:
Diffstat (limited to 'example/policies.go')
-rw-r--r--example/policies.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/policies.go b/example/policies.go
index 7a81359..3e14f5a 100644
--- a/example/policies.go
+++ b/example/policies.go
@@ -15,7 +15,7 @@ func main() {
// New instance with builtin context
r := rutina.New()
- r = r.With(rutina.WithErrChan())
+ r = r.With(rutina.WithErrChan(), rutina.WithStdLogger())
r.Go(func(ctx context.Context) error {
<-time.After(1 * time.Second)