From 5278665a4dab4d90c7aac56aa76ce2c24705da8c Mon Sep 17 00:00:00 2001 From: Raul Benencia <46945030+raul-te@users.noreply.github.com> Date: Wed, 4 Jan 2023 16:16:10 -0800 Subject: build: update dependencies --- vendor/github.com/go-kit/kit/log/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'vendor/github.com/go-kit/kit/log/README.md') diff --git a/vendor/github.com/go-kit/kit/log/README.md b/vendor/github.com/go-kit/kit/log/README.md index 7222f80..5492dd9 100644 --- a/vendor/github.com/go-kit/kit/log/README.md +++ b/vendor/github.com/go-kit/kit/log/README.md @@ -1,5 +1,14 @@ # package log +**Deprecation notice:** The core Go kit log packages (log, log/level, log/term, and +log/syslog) have been moved to their own repository at github.com/go-kit/log. +The corresponding packages in this directory remain for backwards compatibility. +Their types alias the types and their functions call the functions provided by +the new repository. Using either import path should be equivalent. Prefer the +new import path when practical. + +______ + `package log` provides a minimal interface for structured logging in services. It may be wrapped to encode conventions, enforce type-safety, provide leveled logging, and so on. It can be used for both typical application log events, @@ -103,6 +112,10 @@ logger.Log("msg", "hello") // ts=2016-01-01T12:34:56Z caller=main.go:15 msg=hello ``` +## Levels + +Log levels are supported via the [level package](https://godoc.org/github.com/go-kit/kit/log/level). + ## Supported output formats - [Logfmt](https://brandur.org/logfmt) ([see also](https://blog.codeship.com/logfmt-a-log-format-thats-easy-to-read-and-write)) -- cgit v1.2.3