Skip to content

Commit

Permalink
Fix presentation of Lua logging function documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lpereira committed Apr 9, 2024
1 parent 284b34f commit c69a632
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,11 @@ in a `500 Internal Server Error` response being thrown.
In addition to the metamethods in the `req` parameter, one can also log messages
with different logging levels by calling methods from `Lwan.log`:

- `Lwan.log:warning(str)`
- `Lwan.log:info(str)`
- `Lwan.log:error(str)`
- `Lwan.log:critical(str)` (Will also abort Lwan! Use with caution)
- `Lwan.log:debug(str)` (Only available in debug builds)
- `Lwan.log:warning(str)`
- `Lwan.log:info(str)`
- `Lwan.log:error(str)`
- `Lwan.log:critical(str)` (Will also abort Lwan! Use with caution)
- `Lwan.log:debug(str)` (Only available in debug builds; no-op otherwise)

> [!NOTE]
>
Expand Down

0 comments on commit c69a632

Please sign in to comment.