diff --git a/Readme.md b/Readme.md index 20a7f7b..74558b7 100644 --- a/Readme.md +++ b/Readme.md @@ -11,7 +11,7 @@ $ go get github.com/tj/node-prune/cmd/node-prune ``` $ cd myapp $ node-prune - INFO[0000] complete duration=195ms files_removed=1,222 files_total=25,520 size_removed=6.8 MB + • complete duration=217ms files_removed=1,222 files_total=25,520 size_removed=6.8 MB ``` ## What? diff --git a/cmd/node-prune/main.go b/cmd/node-prune/main.go index 77c1e72..02a08a8 100644 --- a/cmd/node-prune/main.go +++ b/cmd/node-prune/main.go @@ -5,14 +5,14 @@ import ( "time" "github.com/apex/log" - "github.com/apex/log/handlers/text" + "github.com/apex/log/handlers/cli" "github.com/dustin/go-humanize" "github.com/tj/node-prune" ) func init() { - log.SetHandler(text.Default) + log.SetHandler(cli.Default) } func main() {