1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 17:46:58 -05:00

Move log into common

This commit is contained in:
V2Ray 2015-09-20 00:50:21 +02:00
parent d03cac9670
commit a887fd01b8
15 changed files with 20 additions and 20 deletions

View File

@ -4,7 +4,7 @@ import (
"crypto/cipher"
"io"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/common/log"
)
// CryptionReader is a general purpose reader that applies

View File

@ -6,7 +6,7 @@ import (
"path/filepath"
"github.com/v2ray/v2ray-core"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/common/log"
)
type ConnectionConfig struct {

View File

@ -1,8 +1,8 @@
package core
import (
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
)
var (

View File

@ -4,8 +4,8 @@ import (
"net"
"github.com/v2ray/v2ray-core"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
)
type FreedomConnection struct {

View File

@ -6,8 +6,8 @@ import (
"fmt"
"io"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
)
const (

View File

@ -8,8 +8,8 @@ import (
"strconv"
"github.com/v2ray/v2ray-core"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
protocol "github.com/v2ray/v2ray-core/proxy/socks/protocol"
)

View File

@ -4,8 +4,8 @@ import (
"encoding/json"
"net"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/proxy/vmess/protocol/user"
)

View File

@ -4,7 +4,7 @@ import (
"crypto/md5"
"encoding/hex"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/common/log"
)
const (

View File

@ -4,7 +4,7 @@ import (
"container/heap"
"time"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/common/log"
)
const (

View File

@ -13,8 +13,8 @@ import (
"time"
v2io "github.com/v2ray/v2ray-core/common/io"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/proxy/vmess/protocol/user"
)

View File

@ -8,8 +8,8 @@ import (
"github.com/v2ray/v2ray-core"
v2io "github.com/v2ray/v2ray-core/common/io"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/proxy/vmess/protocol"
"github.com/v2ray/v2ray-core/proxy/vmess/protocol/user"
)

View File

@ -9,8 +9,8 @@ import (
"github.com/v2ray/v2ray-core"
v2io "github.com/v2ray/v2ray-core/common/io"
"github.com/v2ray/v2ray-core/common/log"
v2net "github.com/v2ray/v2ray-core/common/net"
"github.com/v2ray/v2ray-core/log"
"github.com/v2ray/v2ray-core/proxy/vmess/protocol"
"github.com/v2ray/v2ray-core/proxy/vmess/protocol/user"
)

View File

@ -5,8 +5,8 @@ import (
"fmt"
"github.com/v2ray/v2ray-core"
"github.com/v2ray/v2ray-core/common/log"
jsonconf "github.com/v2ray/v2ray-core/config/json"
"github.com/v2ray/v2ray-core/log"
// The following are neccesary as they register handlers in their init functions.
_ "github.com/v2ray/v2ray-core/proxy/freedom"