logger

Types from PocketBase's Go package logger, as JavaScript sees them: you get these objects from $app and the other globals and from hook events, and call their methods by their JS names (Go's FindRecordById is findRecordById). The same package in Go: logger.

logger.Log

Log is similar to slog.record bit contains the log attributes as preformatted JSON map.

Member Type
time time.Time
data types.JSONMap<any>
message string
level slog.Level