enable to customize logger in the replayer (#1111)

This commit is contained in:
Yun Feng
2023-02-09 20:14:33 +11:00
committed by GitHub
parent 4ee86fe66d
commit 07d22e7cd9
4 changed files with 25 additions and 28 deletions

View File

@@ -311,6 +311,7 @@ The replayer accepts options as its constructor's second parameter, and it has t
| logConfig | - | configuration of console output playback, refer to the [console recipe](./docs/recipes/console.md) |
| plugins | [] | load plugins to provide extended replay functions. [What is plugins?](./docs/recipes/plugin.md) |
| useVirtualDom | true | whether to use Virtual Dom optimization in the process of skipping to a new point of time |
| logger | console | The logger object used by the replayer to print warnings or errors |
#### Use rrweb-player