Function glean_core::glean_enable_logging_to_fd
source · pub fn glean_enable_logging_to_fd(fd: u64)
Expand description
Initialize the logging system to send JSON messages to a file descriptor (Unix) or file handle (Windows).
Not available on Android and iOS.
fd
is a writable file descriptor (on Unix) or file handle (on Windows).
Safety
fd
MUST be a valid open file descriptor (Unix) or file handle (Windows).
This function is marked safe,
because we can’t call unsafe functions from generated UniFFI code.