Skip to content

Commit

Permalink
docs: fix code example for onLog (#5184)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjenkinson authored Oct 9, 2023
1 parent e99ff72 commit c453664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration-options/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
};
Expand Down

0 comments on commit c453664

Please sign in to comment.