mirror of
https://github.com/mm201/pkmn-classic-framework.git
synced 2026-04-25 16:20:08 -05:00
Use the Windows event log when running as a service.
This commit is contained in:
parent
f784576b0d
commit
1391342ddf
|
|
@ -6,6 +6,7 @@ using System.Diagnostics;
|
|||
using System.Linq;
|
||||
using System.ServiceProcess;
|
||||
using System.Text;
|
||||
using PkmnFoundations.Support;
|
||||
|
||||
namespace PkmnFoundations.GlobalTerminalService
|
||||
{
|
||||
|
|
@ -16,6 +17,9 @@ namespace PkmnFoundations.GlobalTerminalService
|
|||
InitializeComponent();
|
||||
m_server_4 = new GTServer4();
|
||||
m_server_5 = new GTServer5();
|
||||
#if !DEBUG
|
||||
LogHelper.UseEventLog(this.EventLog);
|
||||
#endif
|
||||
}
|
||||
|
||||
private GTServer4 m_server_4;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user