diff --git a/Debugging-with-`ksql.InjectLogger`.md b/Debugging-with-`ksql.InjectLogger`.md index 97385a9..d9c0daa 100644 --- a/Debugging-with-`ksql.InjectLogger`.md +++ b/Debugging-with-`ksql.InjectLogger`.md @@ -8,7 +8,7 @@ You can either decide to use one of the two built-in loggers, by using: Or you can create your own, by passing a custom function to InjectLogger, e.g.: ```golang -ctx := InjectLogger(ctx, func(ctx context.Context, values LogValues) { +ctx := ksql.InjectLogger(ctx, func(ctx context.Context, values LogValues) { fmt.Println("the values are:", values.Query, values.Params, values.Err) }) ```