mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
docs: fix typo (#8162)
* fix(website): Fix typo website/docs/api/misc/logger/logger.md:32:45 * Replace all Signed-off-by: Joshua Chen <sidachen2003@gmail.com> Signed-off-by: Joshua Chen <sidachen2003@gmail.com> Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
This commit is contained in:
parent
c6f5cf9ac7
commit
eabca78c38
4 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ It exports a single object as default export: `logger`. `logger` has the followi
|
|||
- The `interpolate` function. It is a template literal tag. The syntax can be found below.
|
||||
- Logging functions. All logging functions can both be used as normal functions (similar to the `console.log` family, but only accepts one parameter) or template literal tags.
|
||||
- `info`: prints information.
|
||||
- `warn`: prints a warning that should be payed attention to.
|
||||
- `warn`: prints a warning that should be paid attention to.
|
||||
- `error`: prints an error (not necessarily halting the program) that signals significant problems.
|
||||
- `success`: prints a success message.
|
||||
- The `report` function. It takes a `ReportingSeverity` value (`ignore`, `log`, `warn`, `throw`) and reports a message according to the severity.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue