Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: go/src/infra/tools/cipd/apps/cipd/main.go

Issue 1149313002: go: Replace Logrus with go-logging. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« go/Goopfile ('K') | « go/src/infra/monitoring/messages/alerts.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/tools/cipd/apps/cipd/main.go
diff --git a/go/src/infra/tools/cipd/apps/cipd/main.go b/go/src/infra/tools/cipd/apps/cipd/main.go
index aa0da9c2b37097ae4a54147e29ebb5b85182ceb3..dd73157945097f93507fdd12ac9be6fce0f189a4 100644
--- a/go/src/infra/tools/cipd/apps/cipd/main.go
+++ b/go/src/infra/tools/cipd/apps/cipd/main.go
@@ -341,9 +341,13 @@ type createRun struct {
}
func (c *createRun) Run(a subcommands.Application, args []string) int {
+ logging.Infof("INFO")
+ logging.Warningf("WARNING")
+ logging.Errorf("ERROR")
if !checkCommandLine(args, c.GetFlags(), 0) {
return 1
}
+
pin, err := buildAndUploadInstance(c.InputOptions, c.TagsOptions, c.ServiceOptions)
err = c.writeJSONOutput(&pin, err)
if err != nil {
« go/Goopfile ('K') | « go/src/infra/monitoring/messages/alerts.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698