Skip to content

Support user to have own LoggerClient #1500

@ccb1900

Description

@ccb1900

Relevant Package [REQUIRED]

This feature request is for all device services leverage the Device Service SDK.

Description [REQUIRED]

we have a interface https://github.com/edgexfoundry/go-mod-core-contracts/blob/main/clients/logger/logger.go

we can get a log instance https://github.com/edgexfoundry/go-mod-bootstrap/blob/main/bootstrap/container/logging.go

I want define my ownLoggerClient,but I read source and know we has a container.

if I write a driver ,how can I user my own LoggerClient?

as app-service-sdk, https://github.com/edgexfoundry/app-functions-sdk-go/blob/main/pkg/interfaces/service.go, it has a RegisterCustomStoreFactory ,so I can register my Store

There is many interface,but user can not register free when write its driver.

Describe the solution you'd like

like app-service-sdk or make container public and user can register by a hook

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-lowpriority denoting isolated changesenhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status

    Icebox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions