Skip to content

Commit

Permalink
Fixes a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dylon committed Dec 9, 2024
1 parent 6924afd commit d1e1c2e
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,17 +220,20 @@ The first step when debugging is to examine the respective logs. This extension
has solid support for logging at various levels, including inputs and outputs to
functions and benchmarks. What is logged is configurable in the following ways:
1. Log level := Granularity of logs to print. ![Log Level](https://lfortran.github.io/lfortran-lsp/images/log-level-configuration-lfortran-lsp.png)
- `off` := Do not print any logs.
- `fatal` := Only log messages about errors that cannot be recovered from.
- `error` := Log errors that prevent functionality but can be recovered from.
- `warn` := Log errors that can be recovered from with default behavior.
- `info` := Log informational messages that are demonstrate the extension is running correctly. These may be helpful to non-developer users.
- `debug` := Log additional information that is useful for debugging, but not to the level of recording inputs and outputs of functions.
- `trace` := Highest granularity of logging that includes such things as inputs and outputs to functions.
- `all` := Show all the logs. This is currently equivalent to `trace`.
- `off` Do not print any logs.
- `fatal` Only log messages about errors that cannot be recovered from.
- `error` Log errors that prevent functionality but can be recovered from.
- `warn` Log errors that can be recovered from with default behavior.
- `info` Log informational messages that are demonstrate the extension is
running correctly. These may be helpful to non-developer users.
- `debug` Log additional information that is useful for debugging, but not to
the level of recording inputs and outputs of functions.
- `trace` Highest granularity of logging that includes such things as inputs
and outputs to functions.
- `all` Show all the logs. This is currently equivalent to `trace`.
2. Log filter := Regular expression used to narrow which messages are logged. If
you are not familiar with regular expressions, you may treat the respective
field as a plain text field, for the most part. There are some symbols to
field as a plain text field, for the most part. There are some symbols that
hold special significance to regular expressions; be especially mindful of
periods, asterisks, plus signs, parentheses, brackets, and braces. To learn
more about regular expressions, I recommend
Expand Down

0 comments on commit d1e1c2e

Please sign in to comment.