github.com/thanos-io/thanos@v0.32.5/internal/cortex/util/log/log.go (about) 1 // Copyright (c) The Cortex Authors. 2 // Licensed under the Apache License 2.0. 3 4 package log 5 6 import ( 7 kitlog "github.com/go-kit/log" 8 ) 9 10 var ( 11 // Logger is a shared go-kit logger. 12 // TODO: Change all components to take a non-global logger via their constructors. 13 // Prefer accepting a non-global logger as an argument. 14 Logger = kitlog.NewNopLogger() 15 )