package
1.8.0-rc.1
Repository: https://github.com/googollee/go-socket.io.git
Documentation: pkg.go.dev

# README

Socket.io Logging

Override internal logger with:

import (
	...
    "github.com/googollee/go-socket.io/logger"
)

func main() {
    json_logger := slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{
        Level: slog.LevelInfo, // Set Level for each handler
    })

	log := slog.New(json_logger).With("server", "socket.io") // attach attribute to all log lines
	logger.Log = log
}

# Functions

No description provided by the author
No description provided by the author

# Variables

No description provided by the author