fCraft.IRC.IrcThread.LogDisconnectWarning C# (CSharp) Method

LogDisconnectWarning() static private method

static private LogDisconnectWarning ( [ ex ) : void
ex [
return void
            static void LogDisconnectWarning([NotNull] Exception ex) {
                if (ex == null) throw new ArgumentNullException("ex");
                Logger.Log(LogType.Warning,
                           "IRC: Disconnected ({0}: {1}). Will retry in {2} seconds.",
                           ex.GetType().Name,
                           ex.Message,
                           ReconnectDelay.TotalSeconds);
            }