Initial commit

This commit is contained in:
2025-02-23 09:56:16 -06:00
commit dd6b899df3
7 changed files with 353 additions and 0 deletions

26
structs.go Normal file
View File

@@ -0,0 +1,26 @@
package log
import (
"context"
"log/slog"
)
// primary struct
type Log struct {
Ctx context.Context // context
Log *slog.Logger // slog logger
SLogLevel slog.LevelVar // level
}
// field customization
type Customization struct {
Application CustomizationValue
Format string
TimeStamp struct {
Key string
Format string
}
Type CustomizationValue
}
type CustomizationValue string