mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Okay now.
This commit is contained in:
		| @@ -1,8 +1,11 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Runtime.InteropServices; | ||||
| using System.Diagnostics; | ||||
| using System.IO; | ||||
| using System.Runtime.InteropServices; | ||||
| using FFXIVClassic.Common; | ||||
| using NLog; | ||||
| using NLog.Targets; | ||||
|  | ||||
| namespace FFXIVClassic_Map_Server.packets | ||||
| { | ||||
|   | ||||
| @@ -1,5 +1,8 @@ | ||||
| using System; | ||||
| using System.Runtime.InteropServices; | ||||
| using FFXIVClassic.Common; | ||||
| using NLog; | ||||
| using NLog.Targets; | ||||
|  | ||||
| namespace FFXIVClassic_Map_Server.packets | ||||
| { | ||||
| @@ -157,14 +160,4 @@ namespace FFXIVClassic_Map_Server.packets | ||||
| #endif | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public static class LoggerExtensions | ||||
|     { | ||||
|         public static void ColorDebug(this Logger logger, string message, ConsoleOutputColor color) | ||||
|         { | ||||
|             var logEvent = new LogEventInfo(LogLevel.Debug, logger.Name, message); | ||||
|             logEvent.Properties["color"] = (int) color; | ||||
|             logger.Log(logEvent); | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user