core.render.html.env.debug

Module Contents

Functions

logging(render, msg: str, level: str = 'info', *args, **kwargs)

Jinja2 global: Write log-level entry.

pprint(render, obj: Any) → str

Jinja2 global: Provides a pprint function that renders into HTML.

core.render.html.env.debug.logging(render, msg: str, level: str = 'info', *args, **kwargs)

Jinja2 global: Write log-level entry. The function shall be used for debug and tracing purposes.

Parameters
  • msg – Message to be delivered into logging.

  • level – Logging level. This can either be “info” (default), “debug”, “warning”, “error” or “critical”.

core.render.html.env.debug.pprint(render, obj: Any)str

Jinja2 global: Provides a pprint function that renders into HTML. The function shall be used for debug purposes.

Parameters

obj – Object to be pprinted.

Returns

HTML-enabled pprint output.