From c45366402e1841b6a2fd1f1bd0a4319571acd09f Mon Sep 17 00:00:00 2001 From: Tom Jenkinson Date: Mon, 9 Oct 2023 07:33:18 +0100 Subject: [PATCH] docs: fix code example for `onLog` (#5184) --- docs/configuration-options/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration-options/index.md b/docs/configuration-options/index.md index ec73cac2a..cfa37140c 100755 --- a/docs/configuration-options/index.md +++ b/docs/configuration-options/index.md @@ -492,7 +492,7 @@ export default { if (level === 'warn') { handler('error', log); // turn other warnings into errors } else { - handler(level, info); // otherwise, just print the log + handler(level, log); // otherwise, just print the log } } };