From: Jeremy Kerr Date: Thu, 19 Sep 2013 04:18:56 +0000 (+0800) Subject: lib/log: Cleanup log API X-Git-Tag: v1.0.0~494 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=307b4b091e0bc298964e90888bf179431e32c134;hp=307b4b091e0bc298964e90888bf179431e32c134;p=petitboot lib/log: Cleanup log API Rather than exposing log internals (through always_flush and set_stream), do all logging init through pb_log_init(). If pb_log_init() hasn't been called, pb_log will drop messages. Also, add a pb_debug() function, specifically for debugging information. Signed-off-by: Jeremy Kerr ---