feat: logging

This commit is contained in:
Fu Diwei
2025-03-16 18:43:54 +08:00
parent 65b199d392
commit c13a7a7873
3 changed files with 233 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package logging
import (
"time"
types "github.com/pocketbase/pocketbase/tools/types"
)
type Record struct {
Time time.Time
Level Level
Message string
Data types.JSONMap[any]
}