Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fluent-org/logger

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluent-org/logger - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

package.json
{
"name": "@fluent-org/logger",
"version": "1.0.0",
"version": "1.0.1",
"description": "A node fluent protocol compatible logger",

@@ -25,6 +25,6 @@ "main": "./build/src/index.js",

"type": "git",
"url": "https://github.com/fluent/fluent-logger-bulk-node"
"url": "https://github.com/fluent/fluent-logger-forward-node"
},
"bugs": "https://github.com/fluent/fluent-logger-bulk-node/issues",
"homepage": "https://fluent.github.io/fluent-logger-bulk-node/",
"bugs": "https://github.com/fluent/fluent-logger-forward-node/issues",
"homepage": "https://fluent.github.io/fluent-logger-forward-node/",
"engines": {

@@ -31,0 +31,0 @@ "node": ">=12.9.0"

@@ -16,3 +16,3 @@ # @fluent-org/logger

## Client
`@fluent-org/logger` provides a fully functional client that implements the Forward protocol. It supports reconnection, acknowledgements, timeouts, event retries, and more, and exposes its functionality through simple typed Promise interface.
`@fluent-org/logger` provides a fully functional client that implements the Forward protocol. It supports reconnection, acknowledgements, timeouts, event retries, and more, and exposes its functionality via a simple typed Promise interface.

@@ -69,3 +69,3 @@ For a full list of the client options and methods, see the [FluentClient docs](https://fluent.github.io/fluent-logger-bulk-node/classes/fluentclient.html)

```js
```typescript
emit(data: Record<string, any>): Promise<void>;

@@ -79,4 +79,4 @@ emit(data: Record<string, any>, timestamp: number | Date | EventTime): Promise<void>;

### Fluentd acknowledgements
The Fluent forward protocol provides explicit support for acknowledgements, which allow the client to be sure that the event reached its destination.
### Acknowledgements
The [Fluent forward protocol](https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1) provides explicit support for acknowledgements, which allow the client to be sure that the event reached its destination.

@@ -92,3 +92,3 @@ Enabling acknowledgements means that the promise returned by `emit` will be resolved once the client receives an explicit acknowledgement from the server.

### Event modes
The Fluent forward protocol provides multiple message modes, `Message`, `Forward`, `PackedForward`(default), `CompressedPackedForward`. The Fluent client supports all of them.
The [Fluent forward protocol](https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1) provides multiple message modes, `Message`, `Forward`, `PackedForward`(default), `CompressedPackedForward`. The Fluent client supports all of them.

@@ -95,0 +95,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc