hscmap.logger module

class hscmap.logger.Logger(_w: hscmap.window.Window, max_length: int = 100, buffer: List[str] = <factory>)[source]

Bases: object

Parameters:
  • _w (Window)

  • max_length (int)

  • buffer (List[str])

max_length: int = 100
buffer: List[str]
info(msg, js_alert=False, js_console=True)[source]
Parameters:
  • msg (str)

  • js_alert (bool)

  • js_console (bool)

warn(msg, js_alert=True, js_console=True)[source]
Parameters:
  • msg (str)

  • js_alert (bool)

  • js_console (bool)