Remove unused entityLog struct
Since the logging refactoring in 27e090, entityLog is not used anymore and can be removed.
This commit is contained in:
parent
4bcfeae5a6
commit
93c96d6c21
@ -7,7 +7,6 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
@ -64,11 +63,6 @@ type upstreamConn struct {
|
|||||||
messageLoggers map[string]*messageLogger
|
messageLoggers map[string]*messageLogger
|
||||||
}
|
}
|
||||||
|
|
||||||
type entityLog struct {
|
|
||||||
name string
|
|
||||||
file *os.File
|
|
||||||
}
|
|
||||||
|
|
||||||
func connectToUpstream(network *network) (*upstreamConn, error) {
|
func connectToUpstream(network *network) (*upstreamConn, error) {
|
||||||
logger := &prefixLogger{network.user.srv.Logger, fmt.Sprintf("upstream %q: ", network.Addr)}
|
logger := &prefixLogger{network.user.srv.Logger, fmt.Sprintf("upstream %q: ", network.Addr)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user