@mojaloop/logging-bc-client-lib
Advanced tools
Comparing version 0.1.22 to 0.1.23
{ | ||
"name": "@mojaloop/logging-bc-client-lib", | ||
"version": "0.1.22", | ||
"description": "Mojaloop logging bounded context client lib", | ||
"version": "0.1.23", | ||
"description": "Mojaloop logging bounded context client library", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/mojaloop/logging-bc/tree/main/packages/client-lib", |
@@ -9,3 +9,2 @@ # Mojaloop vNext Nodejs Logging Client Library | ||
This library provides usable implementations of the ILogger interface defined in `@mojaloop/logging-bc-public-types-lib`. | ||
@@ -15,3 +14,3 @@ | ||
- **DefaultLogger** - Does structured colored logging to the console as well as to a combined.log file; | ||
- **KafkaLogger** - Does everything DefaultLogger does and also sends the logs via Kafka to the central logging services. | ||
- **KafkaLogger** - Does everything DefaultLogger does and also sends the logs via Kafka to the central logging services. | ||
@@ -29,3 +28,3 @@ | ||
For very simple logging needs the `@mojaloop/logging-bc-public-types-lib` library has a `ConsoleLogger` class that can be used. | ||
For very simple logging needs the `@mojaloop/logging-bc-public-types-lib` library has a `ConsoleLogger` class that can be used. | ||
@@ -107,6 +106,6 @@ | ||
// use the same way as any other ILogger | ||
// ex: | ||
// ex: | ||
logger.debug("debug message"); | ||
setTimeout(async ()=>{ | ||
@@ -132,5 +131,5 @@ // NOTE Make sure to call KafkaLogger.destroy | ||
OR | ||
OR | ||
npm install @mojaloop/logging-bc-client-lib | ||
``` |
40587
131