Skip to content

Commit

Permalink
docs: add a section about how to enable logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Jul 23, 2024
1 parent f5c7b73 commit 185f78f
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion documentation/reproducing-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,21 @@ provide a fix. To help us diagnose the issue, please follow these steps:
## Logging

You can find out a lot of details about what is going on in yazi.nvim by reading
the log file. To find the log file, execute
the log file.

### Enabling logging

To enable logging, you can do one of the following:

- set `log_level = vim.log.levels.DEBUG,` in your yazi configuration
- or, call yazi manually with logging on by running
```vim
:lua require('yazi').yazi({log_level = vim.log.levels.DEBUG})
```

### Reading the log file

To find the log file, execute

```vim
:checkhealth yazi
Expand Down

0 comments on commit 185f78f

Please sign in to comment.