feat: port lab3 implementation

This commit is contained in:
kk10
2026-10-31 11:54:18 +03:00
parent ec540a1a72
commit 27af30c903
83 changed files with 5195 additions and 6 deletions
+14
View File
@@ -0,0 +1,14 @@
package logger
import (
"log/slog"
"os"
)
func New(level slog.Level) *slog.Logger {
return slog.New(
slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
Level: level,
}),
)
}