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 還沒有評估資料。