Skip to content

Commit

Permalink
Hide flet logs(closes #33)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascdev committed Dec 9, 2023
1 parent f07d91d commit 7baf852
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hasherino/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,9 @@ async def main(page: ft.Page):
],
)

websockets_logger = logging.getLogger("websockets")
websockets_logger.setLevel(logging.INFO)
logging.getLogger("websockets").setLevel(logging.INFO)
logging.getLogger("flet_core").setLevel(logging.INFO)
logging.getLogger("flet_runtime").setLevel(logging.INFO)

persistent_storage = PersistentStorage()
memory_storage = MemoryOnlyStorage(page)
Expand Down

0 comments on commit 7baf852

Please sign in to comment.