diff --git a/README.md b/README.md index 76afe02..27f44a1 100644 --- a/README.md +++ b/README.md @@ -607,14 +607,14 @@ require'navigator'.setup({ ``` ```lua --- output the logs -local log = require"navigator.util".log +-- a example of adding logs in the plugin --- output your log +local log = require"navigator.util".log local definition_hdlr = util.mk_handler(function(err, locations, ctx, _) - log('this is a log for locations', locations, "and ctx", ctx) + -- output your log + log('[definition] log for locations', locations, "and ctx", ctx) if err ~= nil then return end