swot_simulator.logbook.setup#

swot_simulator.logbook.setup(stream: IO[str], debug: bool) Tuple[Logger, Tuple[str, int, int]][source]#

Setup the logging system.

Parameters
  • stream (io) – Flux used to write in the log.

  • debug (bool) – True if the log should record debugging traces.

Returns

The channel logging and log server settings.

Return type

tuple