Write() public method

Adds a message to the queue, to be written to the log file
public Write ( string message ) : void
message string The message to write to the log
return void
        /// <summary>
        /// Creates a new instance of CDKeyServer
        /// </summary>
        /// <param name="DebugLog">The GamespyDebug.log logwriter object</param>
        public CDKeyServer(LogWriter DebugLog)
            : base(29910, 4)
        {
            // Debugging
            this.DebugLog = DebugLog;
            DebugLog.Write("Bound to UDP port: " + Port);

            // Start accepting remote connections
            base.StartAcceptAsync();
        }
        public MasterServer(ref int Port, LogWriter DebugLog)
            : base(27900, MaxConnections)
        {
            // Debugging
            this.DebugLog = DebugLog;
            DebugLog.Write("Bound to UDP port: " + Port);

            // === Start Server List Retrieve Tcp Socket
            Port = 28910;
            DebugLog.Write("Starting Server List Retrieve Socket");
            MasterTcpServer = new ServerListRetrieveSocket();
            DebugLog.Write("Bound to TCP port: " + Port);

            // Start accepting
            base.StartAcceptAsync();

            // Setup timer. Remove servers who havent ping'd since ServerTTL
            PollTimer = new Timer(5000);
            PollTimer.Elapsed += (s, e) => CheckServers();
            PollTimer.Start();
        }