Add realtime gateway and simulator bridge
This commit is contained in:
13
realtime-gateway/internal/logging/logging.go
Normal file
13
realtime-gateway/internal/logging/logging.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package logging
|
||||
|
||||
import (
|
||||
"log/slog"
|
||||
"os"
|
||||
)
|
||||
|
||||
func New() *slog.Logger {
|
||||
handler := slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
|
||||
Level: slog.LevelInfo,
|
||||
})
|
||||
return slog.New(handler)
|
||||
}
|
||||
Reference in New Issue
Block a user