gopherdata / gopherdata/gophernotes
zerolog: could not write event: write |1: file already closed
未关闭
- 主要语言
- Go
- 星标
- 4k
- 派生
- 264
- 平均合并
- 7 天 21 小时
- 30 天内合并 PR
- 1
描述
I'm using zerolog in my package and when I try to use it within gophernotes, I get the following error every time it is used:
```
zerolog: could not write event: write |1: file already closed
```
The logger itself is constructed using a ConsoleWriter that writes to os.Stderr. I'm guessing that gophernotes does something to swap out os.Stderr so that it writes to the notebook rather then the terminal where it was started, but I'm not sure how to account for this in my code.
```
zerolog.New(ConsoleWriter{Out: os.Stderr})
```
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。