apex / apex/log

When to call function close in graylog handler?

オープン
#65 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Go
スター
1.4k
フォーク
110
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, I am really interested in apex/log because of its built in handler to support many different logger and services. However, I don't see an example for using graylog handler. I tried to implement it myself and it works (perfectly). However, I wonder there is a Close function in the handler and I don't know when to call it?

https://github.com/apex/log/blob/941dea75d3ebfbdd905a5d8b7b232965c5e5c684/handlers/graylog/graylog.go#L59

Can you provide a full example of using graylog handler and specify using of Close function.

Best regards,

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。