ethlog => logger

This commit is contained in:
obscuren
2014-10-31 12:56:05 +01:00
parent fd9da72536
commit b1c247231b
33 changed files with 146 additions and 146 deletions

View File

@@ -5,11 +5,11 @@ import (
"fmt"
"math/big"
"github.com/ethereum/go-ethereum/ethlog"
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/logger"
)
var chainlogger = ethlog.NewLogger("CHAIN")
var chainlogger = logger.NewLogger("CHAIN")
type ChainManager struct {
Ethereum EthManager

View File

@@ -7,12 +7,12 @@ import (
"time"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethlog"
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/logger"
"github.com/obscuren/sha3"
)
var powlogger = ethlog.NewLogger("POW")
var powlogger = logger.NewLogger("POW")
type PoW interface {
Search(block *Block, stop <-chan struct{}) []byte

View File

@@ -10,14 +10,14 @@ import (
"time"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/ethlog"
"github.com/ethereum/go-ethereum/ethstate"
"github.com/ethereum/go-ethereum/ethutil"
"github.com/ethereum/go-ethereum/ethwire"
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/logger"
)
var statelogger = ethlog.NewLogger("BLOCK")
var statelogger = logger.NewLogger("BLOCK")
type Peer interface {
Inbound() bool

View File

@@ -7,12 +7,12 @@ import (
"math/big"
"sync"
"github.com/ethereum/go-ethereum/ethlog"
"github.com/ethereum/go-ethereum/ethstate"
"github.com/ethereum/go-ethereum/ethwire"
"github.com/ethereum/go-ethereum/logger"
)
var txplogger = ethlog.NewLogger("TXP")
var txplogger = logger.NewLogger("TXP")
const txPoolQueueSize = 50