portage.elog.messages module

portage.elog.messages._elog_base(level, msg, phase='other', key=None, color=None, out=None)

Backend for the other messaging functions, should not be called directly.

class portage.elog.messages._make_msgfunction(level, color)

Bases: object

_color
_level
portage.elog.messages._reset_buffer()

Reset the internal message buffer when it has been processed, should not be called directly.

portage.elog.messages.collect_ebuild_messages(path)

Collect elog messages generated by the bash logging function stored at ‘path’.

portage.elog.messages.collect_messages(key=None, phasefilter=None)