diff options
author | 2020-05-18 14:02:02 -0700 | |
---|---|---|
committer | 2020-05-18 17:52:28 -0700 | |
commit | 082182275fc96928d5416f1f0cdfd49ef9ac8f37 (patch) | |
tree | a2281e0984cc6a5fefefd8ca11f12878e1d09b3b /ui/status/ninja.go | |
parent | 49e94c0a928cfc2303834fbc36bd956c56de02c7 (diff) |
Update ninja proto, always enable `ninja -d stats`
The stats output will now use the new "DEBUG" message type, which we can
always redirect to verbose.log.gz.
Test: m aprotoc (look in verbose.log.gz)
Change-Id: Ie1b58f12c008ff7d29f11ff7a9807488dba8a504
Diffstat (limited to 'ui/status/ninja.go')
-rw-r--r-- | ui/status/ninja.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/status/ninja.go b/ui/status/ninja.go index 9cf2f6a81..a11774cce 100644 --- a/ui/status/ninja.go +++ b/ui/status/ninja.go @@ -174,6 +174,8 @@ func (n *NinjaReader) run() { n.status.Print("warning: " + message) case ninja_frontend.Status_Message_ERROR: n.status.Error(message) + case ninja_frontend.Status_Message_DEBUG: + n.status.Verbose(message) default: n.status.Print(message) } |