From e23ee3fde17a6bb17a9e56c7105f4bbceb36391f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Jan 2022 03:30:22 +0000 Subject: Rewrite logging calls to use the new APIs. --- src/base.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/base.cpp') 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(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(this), usecount); } -- cgit v1.3.1-10-gc9f91