ahvn.utils.basic.color_utils module¶
- ahvn.utils.basic.color_utils.color_black(obj, console=True)[源代码]¶
Return the string in black (grey/dark) color.
- ahvn.utils.basic.color_utils.color_yellow(obj, console=True)[源代码]¶
Return the string in yellow color.
- ahvn.utils.basic.color_utils.color_magenta(obj, console=True)[源代码]¶
Return the string in magenta color.
- ahvn.utils.basic.color_utils.color_debug(obj, console=True)¶
Return the string in grey color.
- ahvn.utils.basic.color_utils.color_info(obj, console=True)¶
Return the string in blue color.
- ahvn.utils.basic.color_utils.color_info1(obj, console=True)¶
Return the string in blue color.
- ahvn.utils.basic.color_utils.color_info2(obj, console=True)¶
Return the string in magenta color.
- ahvn.utils.basic.color_utils.color_info3(obj, console=True)¶
Return the string in cyan color.
- ahvn.utils.basic.color_utils.color_warning(obj, console=True)¶
Return the string in yellow color.
- ahvn.utils.basic.color_utils.color_error(obj, console=True)¶
Return the string in red color.
- ahvn.utils.basic.color_utils.color_success(obj, console=True)¶
Return the string in green color.
- ahvn.utils.basic.color_utils.print_debug(*args, **kwargs)[源代码]¶
Print debug messages in grey color to stderr (unless otherwise specified in file).
- 参数:
*args -- Arguments to print.
**kwargs -- Keyword arguments for print.
- ahvn.utils.basic.color_utils.print_info(*args, **kwargs)[源代码]¶
Print info messages in blue color to stderr (unless otherwise specified in file).
- 参数:
*args -- Arguments to print.
**kwargs -- Keyword arguments for print.
- ahvn.utils.basic.color_utils.print_warning(*args, **kwargs)[源代码]¶
Print warning messages in yellow color to stderr (unless otherwise specified in file).
- 参数:
*args -- Arguments to print.
**kwargs -- Keyword arguments for print.