diff options
| author | 2025-01-23 16:35:32 +0000 | |
|---|---|---|
| committer | 2025-01-23 16:35:32 +0000 | |
| commit | b9fee8b43dc1903ecb08c81405fb83295fc64db9 (patch) | |
| tree | 80d4bb49c9a2e0e36be0e348a3900d7bec2b7da5 /src/modules/extra/m_pgsql.cpp | |
| parent | Fix the list of supported exemptions. (diff) | |
Convert debug logging from string concatenation to format strings.
When running in normal mode this will prevent a bunch of expensive
string concatenation.
Diffstat (limited to 'src/modules/extra/m_pgsql.cpp')
| -rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 0512ab772..228e28b83 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -454,7 +454,7 @@ restart: void Submit(SQL::Query* req, const std::string& q) override { - ServerInstance->Logs.Debug(MODNAME, "Executing PostgreSQL query: " + q); + ServerInstance->Logs.Debug(MODNAME, "Executing PostgreSQL query: {}", q); if (qinprog.q.empty()) { DoQuery(QueueItem(req, q)); |
