feat(template): adds the {level_short} template tag.

This commit is contained in:
Johann Dreo 2023-01-23 22:24:25 +01:00
commit fbb8318804
2 changed files with 15 additions and 0 deletions

View file

@ -188,6 +188,7 @@ Available tags are:
- `{msg}`: the logged message,
- `{level}`: the current log level (i.e. `Critical`, `Error`, `Warning`, `Progress`, `Note`, `Info`, `Debug` or `XDebug`),
- `{level_letter}`: the first letter of the current log level,
- `{level_short}`: the current log level, printed in only four letters,
- `{file}`: the current file (absolute path),
- `{func}`: the current function,
- `{line}`: the current line number,