Using custom LoggingClient in Application Service #341
Unanswered
rcortescir
asked this question in
Q&A
Replies: 1 comment
-
It is possible to support with some change in device-sdk, app-sdk, and go-mod-bootstrap, but we don't support it right now because we didn't have this requirement. This issue makes it easier to be achieved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I want to use a custom logger in my services to standardize logging accross my system. For this reason I would like to know how can I inject my custom logger (which implements the
LoggingClient
interface) to my application service.Is this supported? I cannot find anything about this in the documentation, but I have seen some clues that make me think it could be possible, for example:
go-mod-bootstrap/v3/bootstrap/container/logging.go
it looks like that the LoggingClient could be injected, by using thedi
package, is this correct?I also saw this other open issue which seems to be related (although this is for device-sdk)
Does anyone know if this is possible, and if so, what would be the best way of doing it?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions