Quellcode durchsuchen

Remove Console.WriteLine

Halsafar vor 4 Jahren
Ursprung
Commit
851bdd471d

+ 1 - 1
SongBrowserPlugin/Logging/Logger.cs

@@ -29,7 +29,7 @@ namespace SongBrowser.Logging
                 return;
             }
             Console.ForegroundColor = ConsoleColor.Cyan;
-            Console.WriteLine("[" + LoggerName + " @ " + DateTime.Now.ToString("HH:mm") + " - Trace] " + String.Format(format, args));
+            Plugin.Log.Trace("[" + LoggerName + " @ " + DateTime.Now.ToString("HH:mm") + " - Trace] " + String.Format(format, args));
             ResetForegroundColor();
         }
 

+ 1 - 1
SongBrowserPlugin/SongBrowserApplication.cs

@@ -44,7 +44,7 @@ namespace SongBrowser
 
             SongBrowserApplication.MainProgressBar = SongBrowser.UI.ProgressBar.Create();
 
-            Console.WriteLine("SongBrowser Plugin Loaded()");
+            Plugin.Log.Info("SongBrowser Plugin OnLoad Complete");
         }
 
         /// <summary>

+ 1 - 1
SongBrowserPlugin/UI/Base64Sprites.cs

@@ -49,7 +49,7 @@ namespace SongBrowser.UI
             }
             catch (Exception)
             {
-                Console.WriteLine("Exception loading texture from base64 data.");
+                Plugin.Log.Critical("Exception loading texture from base64 data.");
                 s = null;
             }