MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / output

Method output

src/jrd/validation.cpp:974–997  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972
973
974void Validation::output(const char* format, ...)
975{
976 if (!vdr_service)
977 return;
978
979 va_list params;
980 va_start(params, format);
981
982 string s;
983 tm now;
984 int ms;
985 TimeStamp::getCurrentTimeStamp().decode(&now, &ms);
986
987 ///s.printf("%04d-%02d-%02d %02d:%02d:%02d.%04d ",
988 s.printf("%02d:%02d:%02d.%02d ",
989 ///now.tm_year + 1900, now.tm_mon + 1, now.tm_mday,
990 now.tm_hour, now.tm_min, now.tm_sec, ms / 100);
991 vdr_service->outputVerbose(s.c_str());
992
993 s.vprintf(format, params);
994 va_end(params);
995
996 vdr_service->outputVerbose(s.c_str());
997}
998
999
1000bool Validation::run(thread_db* tdbb, USHORT flags)

Callers

nothing calls this directly

Calls 5

vprintfMethod · 0.80
decodeMethod · 0.45
printfMethod · 0.45
outputVerboseMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected