File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232)
3333
3434__all__ = (
35+ "CRITICAL" ,
36+ "DEBUG" ,
37+ "ERROR" ,
38+ "FATAL" ,
39+ "INFO" ,
40+ "NOTSET" ,
41+ "WARN" ,
42+ "WARNING" ,
3543 "ColoredFormatter" ,
36- "default_log_colors" ,
44+ "LevelFormatter" ,
45+ "StreamHandler" ,
46+ "TTYColoredFormatter" ,
3747 "basicConfig" ,
38- "root" ,
39- "getLogger" ,
48+ "critical" ,
4049 "debug" ,
41- "info" ,
42- "warning" ,
50+ "default_log_colors" ,
4351 "error" ,
4452 "exception" ,
45- "critical" ,
46- "log" ,
4753 "exception" ,
48- "StreamHandler" ,
49- "LevelFormatter" ,
50- "TTYColoredFormatter" ,
51- "CRITICAL" ,
52- "FATAL" ,
53- "ERROR" ,
54- "WARNING" ,
55- "WARN" ,
56- "INFO" ,
57- "DEBUG" ,
58- "NOTSET" ,
54+ "getLogger" ,
55+ "info" ,
56+ "log" ,
57+ "root" ,
58+ "warning" ,
5959)
6060
6161if sys .version_info < (3 , 6 ):
Original file line number Diff line number Diff line change 11"""Test the colorlog.escape_codes module."""
22
3- from colorlog .escape_codes import escape_codes , esc , parse_colors
4-
53import pytest
64
5+ from colorlog .escape_codes import esc , escape_codes , parse_colors
6+
77
88def test_esc ():
99 assert esc (1 , 2 , 3 ) == "\033 [1;2;3m"
Original file line number Diff line number Diff line change 1919
2020import colorlog .formatter
2121
22+ __all__ = (
23+ "CRITICAL" ,
24+ "DEBUG" ,
25+ "ERROR" ,
26+ "FATAL" ,
27+ "INFO" ,
28+ "NOTSET" ,
29+ "WARN" ,
30+ "WARNING" ,
31+ "StreamHandler" ,
32+ "basicConfig" ,
33+ "critical" ,
34+ "debug" ,
35+ "error" ,
36+ "exception" ,
37+ "getLogger" ,
38+ "info" ,
39+ "log" ,
40+ "root" ,
41+ "warning" ,
42+ )
43+
2244
2345def basicConfig (
2446 style : str = "%" ,
Original file line number Diff line number Diff line change 22
33setup (
44 name = "colorlog" ,
5- version = "6.4.0 " ,
5+ version = "6.4.1 " ,
66 description = "Add colours to the output of Python's logging module." ,
77 long_description = open ("README.md" ).read (),
88 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments