Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion promlog/flag/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,17 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Deprecated: This package has been deprecated in favor of migrating to
// `github.com/prometheus/common/promslog` which uses the Go standard library
// `log/slog` package.
package flag

import (
"strings"

kingpin "github.com/alecthomas/kingpin/v2"

"github.com/prometheus/common/promlog"
"github.com/prometheus/common/promlog" //nolint:staticcheck
)

// LevelFlagName is the canonical flag name to configure the allowed log level
Expand Down
4 changes: 4 additions & 0 deletions promlog/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
// Package promlog defines standardised ways to initialize Go kit loggers
// across Prometheus components.
// It should typically only ever be imported by main packages.
//
// Deprecated: This package has been deprecated in favor of migrating to
// `github.com/prometheus/common/promslog` which uses the Go standard library
// `log/slog` package.
package promlog

import (
Expand Down