@fluent-org/logger
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
325467
0
5