@loglayer/transport-log-file-rotation 1.0.0 → 1.0.1
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 +4 -2
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
# @loglayer/transport-log-file-rotation
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@loglayer/transport-log-file-rotation)
|
|
4
|
+
[](https://www.npmjs.com/package/@loglayer/transport-log-file-rotation)
|
|
5
|
+
[](http://www.typescriptlang.org/)
|
|
4
6
|
|
|
5
|
-
A transport for [LogLayer](https://
|
|
7
|
+
A transport for [LogLayer](https://loglayer.dev) that writes logs to files with automatic rotation based on size or time. Built on top of [file-stream-rotator](https://github.com/rogerc/file-stream-rotator/).
|
|
6
8
|
|
|
7
9
|
## Features
|
|
8
10
|
|
|
@@ -71,4 +73,4 @@ Child loggers do not have this problem as they inherit the transport instance fr
|
|
|
71
73
|
|
|
72
74
|
## Documentation
|
|
73
75
|
|
|
74
|
-
For detailed documentation, including all configuration options and advanced features, visit the [
|
|
76
|
+
For detailed documentation, including all configuration options and advanced features, visit the [documentation](https://loglayer.dev/transports/log-file-rotation.html).
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loglayer/transport-log-file-rotation",
|
|
3
3
|
"description": "Log file rotation transport for loglayer with file-stream-rotator.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"loglayer",
|
|
26
26
|
"file",
|
|
27
27
|
"rotation",
|
|
28
|
+
"rotate",
|
|
28
29
|
"transport"
|
|
29
30
|
],
|
|
30
31
|
"dependencies": {
|
|
@@ -38,7 +39,7 @@
|
|
|
38
39
|
"typescript": "5.7.2",
|
|
39
40
|
"vitest": "2.1.8",
|
|
40
41
|
"tsx": "4.19.2",
|
|
41
|
-
"loglayer": "5.
|
|
42
|
+
"loglayer": "5.2.0",
|
|
42
43
|
"@internal/tsconfig": "1.0.0"
|
|
43
44
|
},
|
|
44
45
|
"bugs": "https://github.com/loglayer/loglayer/issues",
|