Skip to content

Commit 002134a

Browse files
committed
Mark promlog deprecated
Now that all Prometheus repos have been migrated to the `promslog` package, mark `promlog` as deprecated. Signed-off-by: SuperQ <superq@gmail.com>
1 parent 28e4459 commit 002134a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

promlog/log.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
// Package promlog defines standardised ways to initialize Go kit loggers
1515
// across Prometheus components.
1616
// 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.
1721
package promlog
1822

1923
import (

0 commit comments

Comments
 (0)