MCPcopy Index your code
hub / github.com/GJDuck/e9patch / debugImpl

Function debugImpl

src/e9patch/e9patch.cpp:140–152  ·  view source on GitHub ↗

* Print a debug message. */

Source from the content-addressed store, hash-verified

138 * Print a debug message.
139 */
140void debugImpl(const char *msg, ...)
141{
142 fprintf(stderr, "%sdebug%s: ",
143 (option_is_tty? "\33[35m": ""),
144 (option_is_tty? "\33[0m" : ""));
145
146 va_list ap;
147 va_start(ap, msg);
148 vfprintf(stderr, msg, ap);
149 va_end(ap);
150
151 putc('\n', stderr);
152}
153
154/*
155 * Print logging information.

Callers

nothing calls this directly

Calls 3

putcFunction · 0.85
fprintfFunction · 0.50
vfprintfFunction · 0.50

Tested by

no test coverage detected