MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / logprintf

Function logprintf

jni/stasm/print.cpp:64–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62// Used for detailed stuff that we don't usually want to see.
63
64void logprintf(const char* format, ...) // args like printf
65{
66 if (logfile_g)
67 {
68 char s[SBIG];
69 va_list args;
70 va_start(args, format);
71 VSPRINTF(s, format, args);
72 va_end(args);
73 // we don't check fputs here, to prevent recursive calls and msgs
74 fputs(s, logfile_g);
75 fflush(logfile_g);
76 }
77}
78
79// Like lprintf but always prints even if print_g is false.
80

Callers 6

StartShapeAndRoiFunction · 0.85
LogShapeFunction · 0.85
OpenDetectorFunction · 0.85
lputsFunction · 0.85
PrintOnceFunction · 0.85
SuggestShape_Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected