@larvit/log 1.5.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @larvit/log
2
2
 
3
- Zero dependency, structured logging with a simple interface.
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
- // This is used to set timings etc.
49
+ // Without this spans and traces does not get sent.
50
50
  reqLog.end();
51
51
  }
52
52
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@larvit/log",
3
- "version": "1.5.0",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "packageManager": "yarn@4.6.0",