Go

Go

By DeepSource

Audit required: `GetLogger` is only for internal use of etcd's clientGO-W1003

Bug risk

GetLogger is only for internal usage of etcd's client and should not be used as a general purpose logger.

Examples

Bad practice

log := client.GetLogger()
log.Info("do not use as a general purpose logger")