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.
This commit is contained in:
Tristan B. Velloza Kildaire 2024-04-08 17:36:59 +02:00
parent e9f45e27f4
commit 7686ac9b40
1 changed files with 4 additions and 4 deletions

View File

@ -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__,