setup_logging#

setup_logging(log_level=20, in_memory_buffer=False)[source]#

Setup root logger and quiet some levels.

Parameters:
  • in_memory_buffer – Setup in-memory log buffer used to fetch log messages to the frontend.

  • log_level (str | int) –

Return type:

Logger