From 5cf99c7535d8aac79fded1cc3643aed008ad2252 Mon Sep 17 00:00:00 2001 From: Yun Date: Sun, 11 May 2025 18:44:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E4=B8=AA=E5=AF=B9?= =?UTF-8?q?=E5=A4=96=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interfaces.go | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 interfaces.go diff --git a/interfaces.go b/interfaces.go new file mode 100644 index 0000000..e47b8e5 --- /dev/null +++ b/interfaces.go @@ -0,0 +1,10 @@ +package loggerx + +import "context" + +type Loggerx interface { + Info(ctx context.Context, args ...any) + Infof(ctx context.Context, format string, args ...any) + Error(ctx context.Context, args ...any) + Errorf(ctx context.Context, format string, args ...any) +}