Skip to content

Commit

Permalink
docs: fix a few links
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Mar 2, 2024
1 parent 9819c70 commit 23d04a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/plugins/utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,15 @@ This function is only available in the async context.

### `dbg(msg)`

Append messages to [the log file](./overview#logging) at the debug level:
Append messages to [the log file](/docs/plugins/overview#logging) at the debug level:

- `msg` - Required, the message to be logged, which is a string

Note that if you use a release build of Yazi, the log level is "error" instead of "debug", so you'll need to use [`ya.err`](#errmsg).

### `err(msg)`

Append messages to [the log file](./overview#logging) at the error level:
Append messages to [the log file](/docs/plugins/overview#logging) at the error level:

- `msg` - Required, the message to be logged, which is a string

Expand Down Expand Up @@ -169,7 +169,7 @@ This function is only available in the async context.

Preview the file as an archive into the specified area:

- `opts` - Required, the options of the preview. It's the same as [`preview_code`](#previewcodeopts)
- `opts` - Required, the options of the preview. It's the same as [`preview_code`](#preview_codeopts)

Returns `(ok, upper_bound)`:

Expand Down

0 comments on commit 23d04a9

Please sign in to comment.