From 7686ac9b407a5aa8aa4828fecf33561453ec5229 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 8 Apr 2024 17:36:59 +0200 Subject: [PATCH] GoggaLogger - Any method which is templated AND marked as `final` will NOT be virtual. - Undid the `final` so as to provide us with vtable support when using via the super type `Logger`. Prior to this it would use the ones declared directly in `Logger` and not the others as effectively no override was present. --- source/gogga/core.d | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/gogga/core.d b/source/gogga/core.d index 807cf20..5af7545 100644 --- a/source/gogga/core.d +++ b/source/gogga/core.d @@ -71,7 +71,7 @@ public class GoggaLogger : Logger * __FUNCTION__ = compile time usage function * __PRETTY_FUNCTION__ = compile time usage function (pretty) */ - public final void error(TextType...)(TextType segments, + public void error(TextType...)(TextType segments, string c1 = __FILE_FULL_PATH__, string c2 = __FILE__, ulong c3 = __LINE__, string c4 = __MODULE__, string c5 = __FUNCTION__, @@ -114,7 +114,7 @@ public class GoggaLogger : Logger * __FUNCTION__ = compile time usage function * __PRETTY_FUNCTION__ = compile time usage function (pretty) */ - public final void info(TextType...)(TextType segments, + public void info(TextType...)(TextType segments, string c1 = __FILE_FULL_PATH__, string c2 = __FILE__, ulong c3 = __LINE__, string c4 = __MODULE__, string c5 = __FUNCTION__, @@ -157,7 +157,7 @@ public class GoggaLogger : Logger * __FUNCTION__ = compile time usage function * __PRETTY_FUNCTION__ = compile time usage function (pretty) */ - public final void warn(TextType...)(TextType segments, + public void warn(TextType...)(TextType segments, string c1 = __FILE_FULL_PATH__, string c2 = __FILE__, ulong c3 = __LINE__, string c4 = __MODULE__, string c5 = __FUNCTION__, @@ -201,7 +201,7 @@ public class GoggaLogger : Logger * __FUNCTION__ = compile time usage function * __PRETTY_FUNCTION__ = compile time usage function (pretty) */ - public final void debug_(TextType...)(TextType segments, + public void debug_(TextType...)(TextType segments, string c1 = __FILE_FULL_PATH__, string c2 = __FILE__, ulong c3 = __LINE__, string c4 = __MODULE__, string c5 = __FUNCTION__,