Skip to content

Commit ea39706

Browse files
authored
Merge pull request #23 from tclxshunquan-wang/feat/fix_typing
refactor: rename createStdPlugin to createStdoutPlugin for consistency in documentation
2 parents a7c1492 + 5517137 commit ea39706

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ A standard output plugin for [@hyperse/logger](https://github.com/hyperse-io/log
146146
**Quick Setup:**
147147

148148
```typescript
149-
import { createStdPlugin } from '@hyperse/logger-plugin-stdout';
149+
import { createStdoutPlugin } from '@hyperse/logger-plugin-stdout';
150150

151-
const stdPlugin = createStdPlugin();
151+
const stdPlugin = createStdoutPlugin();
152152
```
153153

154154
📖 **[View detailed documentation →](./packages/logger-plugin-stdout/README.md)**
@@ -190,10 +190,10 @@ Combine multiple plugins for sophisticated logging setups:
190190
```typescript
191191
import { createLogger } from '@hyperse/logger';
192192
import { createConsolePlugin } from '@hyperse/logger-plugin-console';
193-
import { createStdPlugin } from '@hyperse/logger-plugin-stdout';
193+
import { createStdoutPlugin } from '@hyperse/logger-plugin-stdout';
194194

195195
const logger = createLogger()
196-
.use(createConsolePlugin(), createStdPlugin())
196+
.use(createConsolePlugin(), createStdoutPlugin())
197197
.use(customPlugin)
198198
.build();
199199
```

0 commit comments

Comments
 (0)