feat: deprecate logger interface

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2023-09-12 00:48:37 +02:00 committed by Márk Sági-Kazár
parent d16deb4b93
commit 0c5594ae7a

View file

@ -11,6 +11,8 @@ import (
// Logger is a unified interface for various logging use cases and practices, including: // Logger is a unified interface for various logging use cases and practices, including:
// - leveled logging // - leveled logging
// - structured logging // - structured logging
//
// Deprecated: use `log/slog` instead.
type Logger interface { type Logger interface {
// Trace logs a Trace event. // Trace logs a Trace event.
// //