gatewayd-io / gatewayd-plugin-sdk

GatewayD SDK for building plugins
https://docs.gatewayd.io/developing-plugins/sdk-reference/
Apache License 2.0
6 stars 2 forks source link

Implement a logger wrapper for use in the consumer #35

Open mostafa opened 5 months ago

mostafa commented 5 months ago

As explained in this review comment, if the consumer is going to be used in GatewayD as part of https://github.com/gatewayd-io/gatewayd/issues/472, it should use the zerolog logger, however when used in the plugins it should use the hclog logger. Upon implementing this feature, it should be investigated whether using the same consume in GatewayD is the way to move forward or GatewayD should have and implement its own consumer (that uses zerolog).

Resources