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

14
globals.go Normal file
View File

@@ -0,0 +1,14 @@
package log
import "log/slog"
var (
// LevelNames set the names associated with custom logging levels.
LevelNames = map[slog.Leveler]string{
LevelTrace: "TRACE",
LevelFatal: "FATAL",
}
// L is the global interface used for calling the logger subfunctions.
L = Log{}
)