Improve the mcpu.Processor logging routines
authorIustin Pop <iustin@google.com>
Tue, 21 Oct 2008 15:45:28 +0000 (15:45 +0000)
committerIustin Pop <iustin@google.com>
Tue, 21 Oct 2008 15:45:28 +0000 (15:45 +0000)
commitc0088fb96e4dbc25bc6fc35be93c8a81c526429f
tree2d102fac274ce9a4b3323a99e46e147d6393fb05
parent1665342572eb8b773d4bb1ac4104bf9f4554b07d
Improve the mcpu.Processor logging routines

As discussed previously, many of the routinges in cmdlib.py are using
logging functions as a carry-over from 1.2 (when these also showed the
message on stderr/to the user), instead of actually warning the user.

This patch extends the syntax for Processor.LogInfo/LogWarning in order
to be easier to use them.

Reviewed-by: imsnah
lib/mcpu.py