-
Notifications
You must be signed in to change notification settings - Fork 2
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
expose logger #19
Comments
I tested to expose fluent-bit's logger interface into Golang world.
I'm not sure which is the better choice for our use case. |
I'm considering the following:
|
I created a PR to handle the first one:
|
Off course, the Golang function can use variadic arguments, and build the final string using |
Expose the logger from fluent-bit so we can write logs using the same format and respect the same level configured in fluent-bit.
@cosmo0920 can you tell me all the levels that fluent-bit has in its logger and whether it is an structured logger or not, so we can come with a nice golang interface.
The text was updated successfully, but these errors were encountered: