crabgrind 0.2.5

Rust bindings to "Valgrind Client Request" interface
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Prints formatted text to the Valgrind output channel.

This macro wraps the C client request `VALGRIND_PRINTF`. It behaves similarly to
[`std::println`](std.println) in terms of syntax, accepting a format string and
a list of arguments.

# Mechanics

The formatted string is sent to the Valgrind log (typically stderr). Output is
buffered in the client process until the Valgrind tool initializes, at which
point the buffer is flushed.

**Note:** If the process runs **without** Valgrind, this macro does nothing (it
is a no-op). It does not print to stdout or stderr.

## Note

Requires Valgrind **3.0** or higher.