streamlitextras.logger package

process_log_line(log_line: str)[source]

Process a log line formatted from this module into a dictionary of its sections.

Parameters

log_line (str) – The log line to process

default_bind(include_session_state: bool = False)[source]

Generate a dict from st.session_state to be stored with every log line

bind_log(extras=None) Logger[source]

Bind the logger to the session state dictionary

Submodules

streamlitextras.logger.firebasesink module

firestore_sink(message)[source]

Loguru sink to store logs in firestore