添加一个对外接口

This commit is contained in:
Yun
2025-05-11 18:44:14 +08:00
parent a9c3693323
commit 5cf99c7535
+10
View File
@@ -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)
}