update `pkg` to logrus
@@ -4,8 +4,9 @@ import (
"encoding/json"
"fmt"
"io"
- "log"
"time"
+
+ log "github.com/Sirupsen/logrus"
)
type JSONLog struct {
@@ -2,9 +2,10 @@ package proxy
import (
"net"
"syscall"
type TCPProxy struct {
@@ -2,12 +2,13 @@ package proxy
"encoding/binary"
"strings"
"sync"
const (
@@ -2,10 +2,10 @@ package sysinfo
"io/ioutil"
"os"
"path"
"github.com/docker/libcontainer/cgroups"