@logtape/hono 1.4.0-dev.445 → 1.4.0-dev.460

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 +13 -13
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -75,11 +75,11 @@ Predefined formats
75
75
 
76
76
  The middleware supports Morgan-compatible predefined formats:
77
77
 
78
- - `"combined"`: Apache Combined Log Format with all properties (default)
79
- - `"common"`: Apache Common Log Format (without referrer/userAgent)
80
- - `"dev"`: Concise output for development (e.g., `GET /path 200 1.234 ms - 123`)
81
- - `"short"`: Shorter format with remote address
82
- - `"tiny"`: Minimal output
78
+ - `"combined"`: Apache Combined Log Format with all properties (default)
79
+ - `"common"`: Apache Common Log Format (without referrer/userAgent)
80
+ - `"dev"`: Concise output for development (e.g., `GET /path 200 1.234 ms - 123`)
81
+ - `"short"`: Shorter format with remote address
82
+ - `"tiny"`: Minimal output
83
83
 
84
84
 
85
85
  Custom format function
@@ -105,14 +105,14 @@ Structured logging output
105
105
  When using the `"combined"` format (default), the middleware logs structured
106
106
  data that includes:
107
107
 
108
- - `method`: HTTP request method
109
- - `url`: Request URL
110
- - `path`: Request path
111
- - `status`: HTTP response status code
112
- - `responseTime`: Response time in milliseconds
113
- - `contentLength`: Response content-length header value
114
- - `userAgent`: User-Agent header value
115
- - `referrer`: Referrer header value
108
+ - `method`: HTTP request method
109
+ - `url`: Request URL
110
+ - `path`: Request path
111
+ - `status`: HTTP response status code
112
+ - `responseTime`: Response time in milliseconds
113
+ - `contentLength`: Response content-length header value
114
+ - `userAgent`: User-Agent header value
115
+ - `referrer`: Referrer header value
116
116
 
117
117
 
118
118
  See also
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logtape/hono",
3
- "version": "1.4.0-dev.445+f5a711d4",
3
+ "version": "1.4.0-dev.460+d1277bb0",
4
4
  "description": "Hono adapter for LogTape logging library",
5
5
  "keywords": [
6
6
  "logging",
@@ -55,7 +55,7 @@
55
55
  ],
56
56
  "peerDependencies": {
57
57
  "hono": "^4.0.0",
58
- "@logtape/logtape": "^1.4.0-dev.445+f5a711d4"
58
+ "@logtape/logtape": "^1.4.0-dev.460+d1277bb0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@alinea/suite": "^0.6.3",