Initial rendering of the node tree
This commit is contained in:
commit
c5bec0afa6
7477 changed files with 8513 additions and 0 deletions
17
log.go
Normal file
17
log.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package main
|
||||
|
||||
|
||||
import (
|
||||
// Standard
|
||||
"log/slog"
|
||||
"os"
|
||||
)
|
||||
|
||||
var (
|
||||
logger *slog.Logger
|
||||
)
|
||||
|
||||
func initLog() {
|
||||
var opts slog.HandlerOptions
|
||||
logger = slog.New(slog.NewJSONHandler(os.Stdout, &opts))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue