eth/downloader: port over old logs from glog to log15

This commit is contained in:
Péter Szilágyi
2017-02-24 18:23:03 +02:00
parent 5c8fe28b72
commit 0a63c3e362
4 changed files with 137 additions and 125 deletions

View File

@ -24,3 +24,11 @@ const (
FastSync // Quickly download the headers, full sync only at the chain head
LightSync // Download only the headers and terminate afterwards
)
// syncModeLabels contains a mapping of sync modes to textual label used by the
// logging system.
var syncModeLabels = map[SyncMode]string{
FullSync: "full",
FastSync: "fast",
LightSync: "light",
}