Skip to content

Commit

Permalink
docs: fix bull logger
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Nov 8, 2024
1 parent 99c9507 commit 860235f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
File renamed without changes.
10 changes: 6 additions & 4 deletions site/docs/extensions/bull.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,11 +710,13 @@ testQueue.on('completed', function (job, result) {
```typescript
export default {
midwayLogger: {
// ...
bullLogger: {
fileLogName: 'midway-bull.log',
clients: {
// ...
bullLogger: {
fileLogName: 'midway-bull.log',
},
},
}
},
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,11 @@ We can configure this logger object separately.
```typescript
export default {
midwayLogger: {
// ...
bullLogger: {
fileLogName: 'midway-bull.log',
clients: {
// ...
bullLogger: {
fileLogName: 'midway-bull.log',
},
},
}
}
Expand Down

0 comments on commit 860235f

Please sign in to comment.