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

Method logError

src/remote/server/ReplServer.cpp:466–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

464 }
465
466 void logError(const string& message)
467 {
468 if (m_config->verboseLogging || message != m_lastError)
469 {
470 string error = message;
471
472 if (m_errorSequence)
473 {
474 string position;
475 position.printf("\n\tAt segment %" UQUADFORMAT ", offset %u",
476 m_errorSequence, m_errorOffset);
477 error += position;
478 }
479
480 logReplicaError(m_config->dbName, error);
481 m_lastError = message;
482 }
483 }
484
485 void checkCompletion(const FbLocalStatus& status, FB_UINT64 sequence, ULONG offset)
486 {

Callers 1

process_archiveFunction · 0.45

Calls 2

logReplicaErrorFunction · 0.85
printfMethod · 0.45

Tested by

no test coverage detected