Commit 3ba12e03 authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

u.DOut -> log.Debug

and other logging switches. I kept the u.PErr and u.POut in cli
commands, as those do need to write raw output directly.
parent 4b44c902
......@@ -40,11 +40,11 @@ func (s *Resolver) ResolvePath(fpath string) (*merkledag.Node, error) {
// first element in the path is a b58 hash (for now)
h, err := mh.FromB58String(parts[0])
if err != nil {
u.DOut("given path element is not a base58 string.\n")
log.Debug("given path element is not a base58 string.\n")
return nil, err
}
u.DOut("Resolve dag get.\n")
log.Debug("Resolve dag get.\n")
nd, err := s.DAG.Get(u.Key(h))
if err != nil {
return nil, err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment