v0.2.0
Changelog:
- Added
logtail.flush()method that sends all currently batched logs to Logtail without waiting for the batching interval.- Just call
logtail.flush()before the process exit or at the end of serverless functions. - Pino calls
logtail.flush()automatically so you don't have to.
- Just call
Want to see code examples? Check out Quick start guide ⇗
Got questions? Please let us know at hello@betterstack.com. We're happy to help!