@ncfour-us/logging 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,4 +9,10 @@ to log activities in the application.
|
|
|
9
9
|
|
|
10
10
|
The package can be used in either browser-based or Node-based runtime environments.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
To use the logger, call `createLogger()`:
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { ILogger, createLogger } from '@ncfour-us/logging';
|
|
16
|
+
|
|
17
|
+
const myLogger: ILogger = createLogger('simple');
|
|
18
|
+
```
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@eslint/eslintrc": "^3.3.5",
|
|
15
15
|
"@eslint/js": "^9.39.4",
|
|
16
16
|
"@jest/globals": "^29.7.0",
|
|
17
|
-
"@ncfour-us/projen-utils": "
|
|
17
|
+
"@ncfour-us/projen-utils": "^0.1.1",
|
|
18
18
|
"@stylistic/eslint-plugin": "^5.10.0",
|
|
19
19
|
"@types/jest": "^29.5.14",
|
|
20
20
|
"@types/node": "^24",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"main": "lib/index.js",
|
|
60
60
|
"license": "MIT",
|
|
61
|
-
"version": "0.0.
|
|
61
|
+
"version": "0.0.18",
|
|
62
62
|
"jest": {
|
|
63
63
|
"coverageProvider": "v8",
|
|
64
64
|
"extensionsToTreatAsEsm": [
|