@adhd/apigen-plugin-logger 0.1.0 → 0.1.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 +14 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # @adhd/apigen-plugin-logger
2
+
3
+ apigen **Layer plugin** — wraps dispatch with structured request/timing logging. Activate with
4
+ `--use` on any target.
5
+
6
+ Part of [apigen](../../README.md). Driven via [`@adhd/apigen-cli`](../../cli).
7
+
8
+ ```bash
9
+ npx @adhd/apigen-cli run --source ./api.ts --type mcp --use @adhd/apigen-plugin-logger
10
+ ```
11
+
12
+ ```ts
13
+ import { loggerPlugin, makeLoggerPlugin, type LoggerOptions } from '@adhd/apigen-plugin-logger'
14
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhd/apigen-plugin-logger",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "main": "./index.js",
5
5
  "dependencies": {
6
6
  "@adhd/apigen-core": "^0.1.0",