<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 23, 2015 at 11:24 AM, Christopher Larson <span dir="ltr">&lt;<a href="mailto:kergoth@gmail.com" target="_blank">kergoth@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4iu" class="a3s" style="overflow:hidden">From: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;<br>
<br>
Rather than recreating handlers and forcing them, iterate over the handlers<br>
and enable color on ones we can handle. This makes it easier to handle color<br>
properly when we introduce the bb.msg default log filters.<br>
<br>
Signed-off-by: Christopher Larson &lt;<a href="mailto:chris_larson@mentor.com">chris_larson@mentor.com</a>&gt;</div></blockquote></div><br>Hmm, might be worth making this even more generic and moving it to bb.msg. If one was to run this against a logger which isn&#39;t configured to use BBLogFormatter, this would do nothing. It should probably raise an exception if that occurs, or automatically replace the stock formatter instance with a BBLogFormatter instance using the same format string.<br>-- <br><div class="gmail_signature"><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div></div>
</div></div>