1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-20 02:21:48 +08:00

extract logging

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy
2015-09-14 17:33:03 -07:00
parent ae1e45234d
commit e5a2896c0e
90 changed files with 209 additions and 201 deletions

View File

@ -15,10 +15,10 @@ import (
"reflect"
"strings"
u "github.com/ipfs/go-ipfs/util"
logging "github.com/ipfs/go-ipfs/vendor/go-log-v1.0.0"
)
var log = u.Logger("command")
var log = logging.Logger("command")
// Function is the type of function that Commands use.
// It reads from the Request, and writes results to the Response.