docs: kernellog.py: add support for info()
An extension may want to just inform about something. So, add support for it. Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/0ddebd8677605d789d53433c8a5344c68da82a73.1604042072.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
55e5414f2f
commit
678a63f988
|
@ -25,4 +25,8 @@ def verbose(app, message):
|
||||||
else:
|
else:
|
||||||
app.verbose(message)
|
app.verbose(message)
|
||||||
|
|
||||||
|
def info(app, message):
|
||||||
|
if UseLogging:
|
||||||
|
logger.info(message)
|
||||||
|
else:
|
||||||
|
app.info(message)
|
||||||
|
|
Loading…
Reference in New Issue