Add slog attributes at pool, worker, and connection levels.
This commit is contained in:
@@ -4,6 +4,7 @@ package inbound
|
||||
import (
|
||||
"context"
|
||||
"git.wisehodl.dev/jay/go-honeybee/transport"
|
||||
"log/slog"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -96,6 +97,7 @@ type WorkerFactory func(
|
||||
id string,
|
||||
conn *transport.Connection,
|
||||
config *WorkerConfig,
|
||||
logger *slog.Logger,
|
||||
) (Worker, error)
|
||||
|
||||
type PoolConfig struct {
|
||||
|
||||
Reference in New Issue
Block a user