diff options
Diffstat (limited to 'spartan')
-rw-r--r-- | spartan/serve.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spartan/serve.go b/spartan/serve.go index 4b37f6a..0fb4939 100644 --- a/spartan/serve.go +++ b/spartan/serve.go @@ -27,7 +27,7 @@ func NewServer( network string, address string, handler types.Handler, - errLog logging.Logger, + baseLog logging.Logger, ) (types.Server, error) { ss := &spartanServer{handler: handler} @@ -35,7 +35,7 @@ func NewServer( address = internal.JoinDefaultPort(address, "300") var err error - ss.Server, err = internal.NewServer(ctx, hostname, network, address, errLog, ss.handleConn) + ss.Server, err = internal.NewServer(ctx, hostname, network, address, baseLog, ss.handleConn) if err != nil { return nil, err } |