Skip to content

Releases: logtail/logtail-js

v0.4.6

09 Nov 12:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.5...v0.4.6

v0.4.5

09 Nov 12:56
Compare
Choose a tag to compare

What's Changed

  • Add new option docs to README.md by @PetrHeinz in #70
  • Adding support for excluding logs based on priority by @Tatarkow in #69

New Contributors

Full Changelog: v0.4.4...v0.4.5

v0.4.4

09 Nov 12:56
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.4.3...v0.4.4

v0.4.3

09 Nov 12:56
Compare
Choose a tag to compare

What's Changed

  • Allow configuration for toggling sending logs to Better Stack and console output by @PetrHeinz in #67

Full Changelog: v0.4.2...v0.4.3

v0.4.2

09 Nov 12:56
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.4.2

v0.4.0

27 Mar 20:53
Compare
Choose a tag to compare

What's new?

  • Added retry mechanism
    • Enabled by default
    • Retries 3 times with 100 ms backoff
    • Configure using retryCount and retryBackoff options
  • Allow completely silencing errors
    • By default, exceptions are still caught and logged to standard output
    • Use ignoreExceptions: true to silently ignore exceptions
    • Use throwExceptions: true to throw exceptions
  • Make @logtail/node a regular dependency for @logtail/winston and @logtail/bunyan

Got questions?
Please let us know at [email protected].
We're happy to help! 🙏

Full Changelog: v0.3.0...v0.4.1

v0.3.0

24 Feb 14:00
Compare
Choose a tag to compare

What's new

  • Changed how we determine automatically added context system.main_file and runtime.file. You could see some change in these values depending on your setup. This was done to prevent the library from producing warnings in some cases.
  • Extended support for log levels. Logtail Node and some frameworks now support sending custom log levels to Logtail.
  • More useful logs are sent to Logtail when the log context is recursive or very deep. You can Prevent Logtail from producing warnings:
const logtail = new Logtail(token, {
    contextObjectCircularRefWarn: false,
    contextObjectMaxDepthWarn: false
});
  • Minor fixes for Pino and .debug() loging method.

Full Changelog: v0.2.0...v0.3.0

v0.2.0

09 Feb 07:21
Compare
Choose a tag to compare

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.

Want to see code examples? Check out Quick start guide ⇗

Got questions? Please let us know at [email protected]. We're happy to help!