writer_supports_color


Description:

[ 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.

Parameters:

output_fd

output file descriptor to check

Returns:

`TRUE` if ANSI color escapes are supported, `FALSE` otherwise


Namespace: GLib.Log
Package: glib-2.0