[ Version ( since = "2.50" ) ]
public bool writer_supports_color (int output_fd)
Check whether the given output_fd file descriptor supports
ANSI color escape sequences.
If so, they can safely be used when formatting log messages.
| output_fd |
output file descriptor to check |
|
`TRUE` if ANSI color escapes are supported, `FALSE` otherwise |