MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / SetLogger

Function SetLogger

cmd/ttn-lw-cli/internal/api/grpc.go:50–52  ·  view source on GitHub ↗

SetLogger sets the default API logger

(logger log.Interface)

Source from the content-addressed store, hash-verified

48
49// SetLogger sets the default API logger
50func SetLogger(logger log.Interface) {
51 rpclog.ReplaceGrpcLogger(logger)
52}
53
54// SetInsecure configures the API to use insecure connections.
55func SetInsecure(insecure bool) {

Callers 1

preRunFunction · 0.92

Calls 1

ReplaceGrpcLoggerFunction · 0.92

Tested by

no test coverage detected