File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11
11
// See the License for the specific language governing permissions and
12
12
// limitations under the License.
13
13
14
+ // Deprecated: This package has been deprecated in favor of migrating to
15
+ // `github.com/prometheus/common/promslog` which uses the Go standard library
16
+ // `log/slog` package.
14
17
package flag
15
18
16
19
import (
17
20
"strings"
18
21
19
22
kingpin "github.com/alecthomas/kingpin/v2"
20
23
21
- "github.com/prometheus/common/promlog"
24
+ "github.com/prometheus/common/promlog" //nolint:staticcheck
22
25
)
23
26
24
27
// LevelFlagName is the canonical flag name to configure the allowed log level
Original file line number Diff line number Diff line change 14
14
// Package promlog defines standardised ways to initialize Go kit loggers
15
15
// across Prometheus components.
16
16
// It should typically only ever be imported by main packages.
17
+ //
18
+ // Deprecated: This package has been deprecated in favor of migrating to
19
+ // `github.com/prometheus/common/promslog` which uses the Go standard library
20
+ // `log/slog` package.
17
21
package promlog
18
22
19
23
import (
You can’t perform that action at this time.
0 commit comments