1log-rxjs 中文文档教程
1log 用于记录 RxJS 可观察量的插件。 Observable 生命周期中的不同事件都标有彩色徽章。 Observables 和订阅被分配了编号,这些编号让你知道特定的下一个/错误/完成/取消订阅适用于哪个订阅。 日志消息包括时间增量并使用缩进显示同步堆栈级别。 除了记录到控制台之外,您还可以使用此插件通过在 Jest 测试中创建日志消息的快照来测试可观察对象。
请参阅 GitHub README 以获取完整文档和屏幕截图。
1log plugin for logging RxJS observables. Different events in the lifecycle of an observable are marked with colored badges. Observables and subscriptions are assigned numbers, and these numbers let you tell which subscription a specific next/error/completion/unsub applies to. Log messages include time deltas and use indentation to show synchronous stack level. Besides logging to the console, you can use this plugin to test observables by creating snapshots of log messages in Jest tests.
Please refer to the GitHub README for full documentation and screenshots.