mirror of
https://github.com/spf13/viper
synced 2024-12-22 11:37:02 +00:00
feat: deprecate logger interface
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
d16deb4b93
commit
0c5594ae7a
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ import (
|
|||
// Logger is a unified interface for various logging use cases and practices, including:
|
||||
// - leveled logging
|
||||
// - structured logging
|
||||
//
|
||||
// Deprecated: use `log/slog` instead.
|
||||
type Logger interface {
|
||||
// Trace logs a Trace event.
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue