-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access to logger #8
Comments
This sounds like a good idea. It would extend the ABI between fluent-bit-go/output/flb_output.h Lines 25 to 27 in 51032bd
|
This is a bit of a stale issue but if you are still interested in working on this I would be willing to help. Just ping me on the fluent slack. |
Hi, still interested, gimmi some time to join |
done |
FYI: this is a must, feel free to send the PR |
Cgo does not support calling variadic C functions, so we could only implement a wrapper for |
Hi, I'd like to work on this, but being a total Go beginner, I'm having a hard time to start. I forked this repo and then tried to import it by changing the import url, go mod tidy, go get <my_url> But i keep getting
Is there a way to a local directory otherwise? |
I implemented a redis output plugin: https://github.com/majst01/fluent-bit-go-redis-output and i want to log errors during configuration parsing or processing. Currently i do this with a simple fmt.Printf(). This is not perfect as this will come out on stdout instead of the configured log destination. It also does look different than other existing log entries and there is not destinction between info/debug/error etc.
I have already seen in flb_log.h there are already handy macros defined:
but the current implementation of fluent-bit-go does not expose them to to golang interface. Can someone give hints howto start, im willing to implement this or help someone to do so.
Greetings and congrats to this simple but working api !
The text was updated successfully, but these errors were encountered: