mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Lobby and game server packet ConsoleColor to NLog cleanup.
This commit is contained in:
		| @@ -34,7 +34,9 @@ | ||||
|     <target xsi:type="File" name="file" fileName="${basedir}/logs/${shortdate}/map.log" | ||||
|             layout="[${date:format=MM/dd/yyyy HH\:mm\:ss}][${uppercase:${level}}]${message}" /> | ||||
|     <target xsi:type="ColoredConsole" name="console" | ||||
|             layout="[${date:format=MM/dd/yyyy HH\:mm\:ss}][${uppercase:${level}}]${message}"> | ||||
|             layout="[${date:format=MM/dd/yyyy HH\:mm\:ss}][${uppercase:${level}}]${message}" /> | ||||
|     <target xsi:type="ColoredConsole" name="packets" | ||||
|             layout="${message}"> | ||||
|       <highlight-row | ||||
|         condition="equals('${logger}', 'FFXIVClassic_Map_Server.packets.BasePacket') and equals('${event-context:item=color}', '6')" | ||||
|         backgroundColor="DarkYellow" foregroundColor="NoChange" /> | ||||
| @@ -50,7 +52,8 @@ | ||||
|   <rules> | ||||
|     <!-- add your logging rules here --> | ||||
|     <logger name='*' minlevel='Trace' writeTo='file' /> | ||||
|     <logger name='*' minlevel='Trace' writeTo='console' /> | ||||
|     <logger name='*' minlevel='Info' writeTo='console' /> | ||||
|     <logger name='FFXIVClassic_Map_Server.packets.*' minlevel='Debug' writeTo='packets' /> | ||||
|     <!-- | ||||
|     Write all events with minimal level of Debug (So Debug, Info, Warn, Error and Fatal, but not Trace)  to "f" | ||||
|     <logger name="*" minlevel="Debug" writeTo="f" /> | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| 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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user