20230318 15:38:30 | MainProcess | MainThread | main.<module>:14 | INFO: | 11111
20230318 15:38:30 | MainProcess | MainThread | main.<module>:15 | DEBUG: | 222222
20230318 15:38:30 | MainProcess | MainThread | main.<module>:16 | WARNING: | 333333
20230318 15:38:30 | MainProcess | MainThread | main.<module>:17 | ERROR: | 444444
20230318 15:38:30 | MainProcess | MainThread | main.<module>:18 | ERROR: | 555555
NoneType: None
20230318 15:38:30 | MainProcess | MainThread | main.<module>:20 | ERROR: | An error has been caught in function '<module>', process 'MainProcess' (16620), thread 'MainThread' (10644):
Traceback (most recent call last):

  File "C:\Users\19041\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\223.8617.48\plugins\python\helpers\pydev\pydevd.py", line 2195, in <module>
    main()
    └ <function main at 0x0000021B5288A430>

  File "C:\Users\19041\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\223.8617.48\plugins\python\helpers\pydev\pydevd.py", line 2177, in main
    globals = debugger.run(setup['file'], None, None, is_module)
              │        │   │                          └ False
              │        │   └ {'port': 4716, 'vm_type': None, 'client': '127.0.0.1', 'server': False, 'DEBUG_RECORD_SOCKET_READS': False, 'multiproc': Fals...
              │        └ <function PyDB.run at 0x0000021B52889430>
              └ <__main__.PyDB object at 0x0000021B5284F400>

  File "C:\Users\19041\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\223.8617.48\plugins\python\helpers\pydev\pydevd.py", line 1489, in run
    return self._exec(is_module, entry_point_fn, module_name, file, globals, locals)
           │    │     │          │               │            │     │        └ {'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': <_frozen_importlib_external.SourceFileLoader objec...
           │    │     │          │               │            │     └ {'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': <_frozen_importlib_external.SourceFileLoader objec...
           │    │     │          │               │            └ 'W:\\work\\project\\python-all-solutions\\test\\logging\\main.py'
           │    │     │          │               └ None
           │    │     │          └ ''
           │    │     └ False
           │    └ <function PyDB._exec at 0x0000021B528894C0>
           └ <__main__.PyDB object at 0x0000021B5284F400>

  File "C:\Users\19041\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\223.8617.48\plugins\python\helpers\pydev\pydevd.py", line 1496, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
    │             │        │     │        └ {'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': <_frozen_importlib_external.SourceFileLoader objec...
    │             │        │     └ {'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': <_frozen_importlib_external.SourceFileLoader objec...
    │             │        └ 'W:\\work\\project\\python-all-solutions\\test\\logging\\main.py'
    │             └ <function execfile at 0x0000021B519B8AF0>
    └ <module '_pydev_bundle.pydev_imports' from 'C:\\Users\\19041\\AppData\\Local\\JetBrains\\Toolbox\\apps\\PyCharm-P\\ch-0\\223....

  File "C:\Users\19041\AppData\Local\JetBrains\Toolbox\apps\PyCharm-P\ch-0\223.8617.48\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
                 │              │              │     └ {'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': <_frozen_importlib_external.SourceFileLoader objec...
                 │              │              └ {'__name__': '__main__', '__doc__': None, '__package__': '', '__loader__': <_frozen_importlib_external.SourceFileLoader objec...
                 │              └ 'W:\\work\\project\\python-all-solutions\\test\\logging\\main.py'
                 └ "from easy_logging import Logger\n\n\ndef cal(x, y, z):\n    return x * y / z\n\n\n@Logger.catch\ndef cal1(x, y, z):\n    ret...

> File "W:\work\project\python-all-solutions\test\logging\main.py", line 20, in <module>
    cal1(1, 2, 0)
    └ <function cal1 at 0x0000021B52D5EE50>

  File "W:\work\project\python-all-solutions\test\logging\main.py", line 10, in cal1
    return x * y / z
           │   │   └ 0
           │   └ 2
           └ 1

ZeroDivisionError: division by zero
20230318 15:38:37 | MainProcess | MainThread | main.<module>:14 | INFO: | 11111
20230318 15:38:37 | MainProcess | MainThread | main.<module>:15 | DEBUG: | 222222
20230318 15:38:37 | MainProcess | MainThread | main.<module>:16 | WARNING: | 333333
20230318 15:38:37 | MainProcess | MainThread | main.<module>:17 | ERROR: | 444444
20230318 15:38:37 | MainProcess | MainThread | main.<module>:18 | ERROR: | 555555
NoneType: None
20230318 15:38:37 | MainProcess | MainThread | main.<module>:20 | ERROR: | An error has been caught in function '<module>', process 'MainProcess' (24968), thread 'MainThread' (9180):
Traceback (most recent call last):

> File "W:\work\project\python-all-solutions\test\logging\main.py", line 20, in <module>
    cal1(1, 2, 0)
    └ <function cal1 at 0x0000023426AB6F70>

  File "W:\work\project\python-all-solutions\test\logging\main.py", line 10, in cal1
    return x * y / z
           │   │   └ 0
           │   └ 2
           └ 1

ZeroDivisionError: division by zero
20230318 15:38:57 | MainProcess | MainThread | main.<module>:14 | INFO: | 11111
20230318 15:38:57 | MainProcess | MainThread | main.<module>:15 | DEBUG: | 222222
20230318 15:38:57 | MainProcess | MainThread | main.<module>:16 | WARNING: | 333333
20230318 15:38:57 | MainProcess | MainThread | main.<module>:17 | ERROR: | 444444
20230318 15:38:57 | MainProcess | MainThread | main.<module>:18 | ERROR: | 555555
NoneType: None
20230318 15:38:57 | MainProcess | MainThread | main.<module>:20 | ERROR: | An error has been caught in function '<module>', process 'MainProcess' (20052), thread 'MainThread' (10376):
Traceback (most recent call last):

> File "W:\work\project\python-all-solutions\test\logging\main.py", line 20, in <module>
    cal1(1, 2, 0)
    └ <function cal1 at 0x000001FFBE617F70>

  File "W:\work\project\python-all-solutions\test\logging\main.py", line 10, in cal1
    return x * y / z
           │   │   └ 0
           │   └ 2
           └ 1

ZeroDivisionError: division by zero
20230318 15:38:57 | MainProcess | MainThread | main.<module>:25 | ERROR: | division by zero
Traceback (most recent call last):

> File "W:\work\project\python-all-solutions\test\logging\main.py", line 23, in <module>
    cal(1, 2, 0)
    └ <function cal at 0x000001FFBC1500D0>

  File "W:\work\project\python-all-solutions\test\logging\main.py", line 5, in cal
    return x * y / z
           │   │   └ 0
           │   └ 2
           └ 1

ZeroDivisionError: division by zero
