Remove unused entityLog struct

Since the logging refactoring in 27e090, entityLog is not used anymore
and can be removed.
This commit is contained in:
delthas 2020-04-04 17:12:54 +02:00 committed by Simon Ser
parent 4bcfeae5a6
commit 93c96d6c21
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -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)}