1 from __future__ import annotations

2

3 from muutils.logger import Logger

4

5

6 def test_logger():

7 logger = Logger()

8

9 logger.log("hello")

10

11 logger["test_stream"]("hello test stream")

12

13 logger.mystream("hello mystream")

14 logger.mystream("hello mystream, again")

15

16 logger.log("something is wrong!", -10)

17 logger.log("something is very wrong!", -30)

18

19 logger.log("not very important", 50)