beamlime.logging.formatters.BeamlimeStreamHighlighter#

class beamlime.logging.formatters.BeamlimeStreamHighlighter[source]#
__init__()[source]#

Methods

__init__()

get_application_style(app_name)

Create or retrieve a style for app_name.

highlight(text)

Add ansi_color field to an existing record and emit it.

populate_app_style(app_name)

Store a style for app_name for future usage.

get_application_style(app_name)[source]#

Create or retrieve a style for app_name.

Return type:

Style

highlight(text)[source]#

Add ansi_color field to an existing record and emit it.

Return type:

None

populate_app_style(app_name)[source]#

Store a style for app_name for future usage.

Return type:

None