aboutsummaryrefslogtreecommitdiff
path: root/src/base.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-18 03:30:22 +0000
committerGravatar Sadie Powell2022-05-01 22:07:14 +0100
commite23ee3fde17a6bb17a9e56c7105f4bbceb36391f (patch)
treeb5117aa2cc0fe2bee18df3a5dabf0ecc49dbd30e /src/base.cpp
parentRewrite the entire logging system. (diff)
Rewrite logging calls to use the new APIs.
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 46cabef21..1c1d34364 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -51,14 +51,14 @@ refcountbase::refcountbase()
refcountbase::~refcountbase()
{
if (refcount && ServerInstance)
- ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "refcountbase::~ @%p with refcount %d",
+ ServerInstance->Logs.Debug("CULLLIST", "refcountbase::~ @%p with refcount %d",
static_cast<void*>(this), refcount);
}
usecountbase::~usecountbase()
{
if (usecount && ServerInstance)
- ServerInstance->Logs.Log("CULLLIST", LOG_DEBUG, "usecountbase::~ @%p with refcount %d",
+ ServerInstance->Logs.Debug("CULLLIST", "usecountbase::~ @%p with refcount %d",
static_cast<void*>(this), usecount);
}