Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
realyuyanan authored and mapleeit committed Aug 10, 2021
1 parent 6976a6e commit ef47007
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ module.exports = {
**参数列表**:
| Name | Type | default | Optional | Description |
| :-: | :-: | :-: | :-: | :-: |
| plugins | [...[Plugin](#Plugins)] | - | yes | [插件](#Plugins)列表 |
| plugins | Array<[Plugin](#Plugins)>| - | yes | [插件](#Plugins)列表 |
| cleanLog | boolean | `false` | yes | 是否关闭默认打印 |
| logLevel | `DEBUG/INFO/WARN/ERROR` | `DEBUG` | yes | 设置 log level |
| winstonTransports | ...[winston.transports.File] | - | yes | [Winston](#winston-是什么)日志通道 |
| winstonTransports | Array<[TransportStream](https://github.com/winstonjs/winston-transport/blob/master/index.d.ts)> | - | yes | [Winston](#winston-是什么)日志通道 |
### 3. 启动
```bash
npx @tswjs/tsw ./index.js
Expand Down

0 comments on commit ef47007

Please sign in to comment.