apex / apex/log

When to call function close in graylog handler?

Open
#65 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
Go
Stars
1.4k
Forks
110
PR merge metrics
No merged PRs in 30d

Description

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,

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.