1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/// Different behaviors for the crate to allow overriding the colored output
/// behaviors. Creating the environment variable `NO_COLOR` (value is not
/// relevant) will disable all coloring. There is also some detection going on
/// to decide what kind of terminal type is used and if coloring should be used
/// or not. See [`colored::control`] for more information.
/// Change coloring mode across the library. See [`ColoringMode`] for more
/// information. By default the library will detect if the output should use
/// color or not [`ColoringMode::UseEnvironment`].
/// Set coloring mode to always use color in the output
/// ([`ColoringMode::AlwaysColor`]).
/// Set coloring mode to never use color in the output
/// ([`ColoringMode::NeverColor`]).
/// Set coloring mode detect if color should be used in the output or not
/// ([`ColoringMode::UseEnvironment`]).