@larvit/log 1.6.0 → 1.6.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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @larvit/log
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Structured logging with a simple interface and support for OTLP.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -46,7 +46,7 @@ function myRequsetHandler(req, res) {
|
|
|
46
46
|
// ... Here be loads of request handler logic ...
|
|
47
47
|
|
|
48
48
|
// Explicitly tell that this inner log is now ended.
|
|
49
|
-
//
|
|
49
|
+
// Without this spans and traces does not get sent.
|
|
50
50
|
reqLog.end();
|
|
51
51
|
}
|
|
52
52
|
|