private void LogPacket(ETemiLogItems index, string packet) { if (logging == ETemiLogging.All) { LogEvent(index, packet); } }
private void LogEvent(ETemiLogItems index, string str) { if (logging != ETemiLogging.None) { logger.Log((int)index, str); } }