feat: logging
This commit is contained in:
14
internal/pkg/logging/record.go
Normal file
14
internal/pkg/logging/record.go
Normal 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]
|
||||
}
|
||||
Reference in New Issue
Block a user