Skip to content

Commit dedefb8

Browse files
committed
cleanup typos, consistencies
1 parent 238f866 commit dedefb8

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export default defineNuxtConfig({
165165
| `env.environment` | `string` | Auto-detected | Environment name |
166166
| `include` | `string[]` | `undefined` | Route patterns to log (glob). If not set, all routes are logged |
167167
| `pretty` | `boolean` | `true` in dev | Pretty print logs with tree formatting |
168-
| `inset` | `string` | `undefined` | Next evlog data inside a property when pretty is disabled |
168+
| `inset` | `string` | `undefined` | Nest evlog data inside a property when pretty is disabled |
169169
| `sampling.rates` | `object` | `undefined` | Head sampling rates per log level (0-100%). Error defaults to 100% |
170170
| `sampling.keep` | `array` | `undefined` | Tail sampling conditions to force-keep logs (see below) |
171171
| `transport.enabled` | `boolean` | `false` | Enable sending client logs to the server |

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,6 @@ try {
809809
}
810810
```
811811

812-
813-
814812
## Framework Support
815813

816814
evlog works with any framework powered by [Nitro](https://nitro.unjs.io/):

apps/docs/content/1.getting-started/2.installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ You can also override the service name per handler using `useLogger(event, 'serv
121121

122122
### Nesting log data
123123

124-
By default, evlog will log the object at root level when logging without ```pretty``` enabled (see [Configuration Options](/getting-started/installation#configuration-options)); however, for services like Cloudflare Observability, you may wish to nest the data inside an arbitrary property name. This can help organize your data and make it easier to query and analyze.
124+
By default, evlog will log the object at root level when logging without `pretty` enabled (see [Configuration Options](/getting-started/installation#configuration-options)); however, for services like Cloudflare Observability, you may wish to nest the data inside an arbitrary property name. This can help organize your data and make it easier to query and analyze.
125125

126126
::callout{icon="i-lucide-info" color="warning"}
127127
**Note:** Nesting can have adverse effects if your logging system expects root-level json data, such as requestIds, or tracing ids.
@@ -514,4 +514,4 @@ evlog requires TypeScript 5.0 or higher for optimal type inference.
514514

515515
## Next Steps
516516

517-
- [Quick Start](/getting-started/quick-start) - Learn the core concepts and start using evlog
517+
- [Quick Start](/getting-started/quick-start) - Learn the core concepts and start using evlog

packages/evlog/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export interface BaseWideEvent {
266266
}
267267

268268
/**
269-
* Wide event inside a nested propery from global config: inset
269+
* Wide event inside a nested property from global config: inset
270270
*/
271271
export type InsetWideEvent = {
272272
[key: string]: BaseWideEvent & Record<string, unknown>

0 commit comments

Comments
 (0)