apex / apex/log

When to call function close in graylog handler?

Abierto
#65 1 comentario 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
Go
Estrellas
1.4k
Forks
110
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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,

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.