diff options
author | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-01-23 12:35:14 -0500 |
commit | 16ca76c2e7ab287e480185fbb03a0bb438351eda (patch) | |
tree | dfb25534afa2352b65b2ee707086cb5eecc96fbb /modules/database/sql.cpp | |
parent | ff030c1eb7c3764f9add2a689479e84d616cabcb (diff) |
Make log system use newer format strings
Also allow log messages to be translatable
Diffstat (limited to 'modules/database/sql.cpp')
-rw-r--r-- | modules/database/sql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/sql.cpp b/modules/database/sql.cpp index 1739f168d..00c45a4bc 100644 --- a/modules/database/sql.cpp +++ b/modules/database/sql.cpp @@ -176,7 +176,7 @@ class DBSQL : public Module, public Pipe Serialize::Object *other = type->Require(id); if (other == nullptr) { - Log(LOG_DEBUG) << "Unable to require id " << id << " type " << type->GetName(); + Anope::Logger.Debug("Unable to require id {0} type {1}", id, type->GetName()); continue; } |