From 507987b50f8c12b0c8a0cfff9ca6ba5eddf68d17 Mon Sep 17 00:00:00 2001 From: Marc Hernandez Date: Wed, 25 Sep 2019 21:21:16 -0700 Subject: [PATCH] Proper names for log categories. --- Log.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Log.cs b/Log.cs index 180aa3e..1b74515 100644 --- a/Log.cs +++ b/Log.cs @@ -105,32 +105,32 @@ namespace lib */ // Forwards. - static public void fatal( string msg, string cat = "unk", object obj = null ) + static public void fatal( string msg, string cat = "fatal", object obj = null ) { log( msg, LogType.Fatal, cat, obj ); } - static public void error( string msg, string cat = "unk", object obj = null ) + static public void error( string msg, string cat = "error", object obj = null ) { log( msg, LogType.Error, cat, obj ); } - static public void warn( string msg, string cat = "unk", object obj = null ) + static public void warn( string msg, string cat = "warn", object obj = null ) { log( msg, LogType.Warn, cat, obj ); } - static public void info( string msg, string cat = "unk", object obj = null ) + static public void info( string msg, string cat = "info", object obj = null ) { log( msg, LogType.Info, cat, obj ); } - static public void debug( string msg, string cat = "unk", object obj = null ) + static public void debug( string msg, string cat = "dbg", object obj = null ) { log( msg, LogType.Debug, cat, obj ); } - static public void trace( string msg, string cat = "unk", object obj = null ) + static public void trace( string msg, string cat = "", object obj = null ) { log( msg, LogType.Trace, cat, obj ); }