mirror of
https://github.com/GittyMac/OpenFK.git
synced 2026-03-21 17:44:31 -05:00
41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using OpenFK.OFK.Common;
|
|
using System.Collections.Generic;
|
|
using System.Windows.Forms;
|
|
|
|
namespace OpenFK
|
|
{
|
|
public partial class DebugForm : Form
|
|
{
|
|
public DebugForm()
|
|
{
|
|
InitializeComponent();
|
|
|
|
LogManager.generalLogs = generalLogs;
|
|
LogManager.fileLogs = fileLogs;
|
|
LogManager.incomingLogs = incomingLogs;
|
|
LogManager.outgoingLogs = outgoingLogs;
|
|
|
|
LogManager.CLogger = new Dictionary<string, RichTextBox>
|
|
{
|
|
{ "all", CLoggerAll },
|
|
{ "trace", CLoggerTrace },
|
|
{ "debug", CLoggerDebug },
|
|
{ "info", CLoggerInfo },
|
|
{ "warning", CLoggerWarning },
|
|
{ "error", CLoggerError },
|
|
{ "fatal", CLoggerFatal }
|
|
};
|
|
|
|
LogManager.networkLogs = new Dictionary<string, RichTextBox>
|
|
{
|
|
{ "All", NetworkAllLogs },
|
|
{ "GET", NetworkGetLogs },
|
|
{ "POST", NetworkPostLogs },
|
|
{ "NetCommand", NetworkCommandLogs }
|
|
};
|
|
|
|
LogManager.staticStorageLogs = staticStorageLogs;
|
|
}
|
|
}
|
|
}
|