Skip to content

Commit 96ef78d

Browse files
committed
update readme for logging
1 parent d196377 commit 96ef78d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,22 @@ Run `:checkhealth codecompanion` and check all dependencies are installed correc
7979
Update your config and turn debug logging on:
8080

8181
```lua
82+
-- lazy.nvim
83+
{
84+
"olimorris/codecompanion.nvim",
85+
dependencies = {
86+
"nvim-lua/plenary.nvim",
87+
"nvim-treesitter/nvim-treesitter",
88+
},
89+
opts = {
90+
-- NOTE: The log_level is in `opts.opts`
91+
opts = {
92+
log_level = "DEBUG", -- or "TRACE"
93+
},
94+
},
95+
},
96+
97+
-- Other package managers
8298
require("codecompanion").setup({
8399
opts = {
84100
log_level = "DEBUG", -- or "TRACE"

0 commit comments

Comments
 (0)