byteface / sharpshooter

A shorthand for creating files and folders. (A parser could be written in any language)
MIT License
11 stars 1 forks source link

- color the logs? #9

Closed github-actions[bot] closed 2 years ago

github-actions[bot] commented 3 years ago

This issue was automatically created by a github action that converts project Todos to issues.

https://github.com/byteface/sharpshooter/blob/0fe312971a7b9c348966bed0a60b31bd10347c04/sharpshooter/__init__.py#L120

    #     print(msg)
    #     sys.stdout = old_log

    # TODO - color the logs?
    # if lvl is None:
    #     print(msg)
    # elif lvl == "error":
    #     print(f"\033[1;41m{msg}\033[1;0m", args, kwargs)
    # elif lvl == "warning":
    #     print(f"\033[1;31m{msg}\033[1;0m", args, kwargs)
    print(msg, args, kwargs)
byteface commented 3 years ago

need to test will be ok on windows.

github-actions[bot] commented 2 years ago

Closed in da8072a2ccb5b06856e546a889b5a3bf0877f484