Skip to content

Commit

Permalink
docs: adjust naming of setFastTime feature in README (#34)
Browse files Browse the repository at this point in the history
`fastTime` --> `bole.setFastTime()`, to match the later README section for easier discoverability
  • Loading branch information
leothorp authored Jan 30, 2023
1 parent 7859af6 commit 41ac45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ $ node main

## Features

* Very fast, bole has been optimised for common cases and is designed to add minimal overhead to your applications, use the `fastTime` feature (below) to make it even faster
* Very fast, bole has been optimised for common cases and is designed to add minimal overhead to your applications, use the `bole.setFastTime()` feature (below) to make it even faster
* Arbitrary log **names**, create a logger by calling `const log = bole('logname')` and `'logname'` will be attached to the output
* Loggers have 4 levels / methods: `log.debug()`, `log.info()`, `log.warn()`, `log.error()`
* Log methods accept `console.log()` style strfmt output ( using`util.format()`): `log.warn('foo %s', 'bar')`
Expand Down

0 comments on commit 41ac45d

Please sign in to comment.