public virtual void UpdateParameterVariables(IListenerInfo listener)
 {
     FDetails        = ListenerFileHelper.DetermineMessageTextFlagParam(listener);
     FMessagePattern = ListenerFileHelper.DetermineMessageTextPattern(listener);
     FTimePatterns   = RIUtils.GetListOfTimePatterns(FMessagePattern);
     FColored        = listener.Params["colored"].IfNullOrEmptyUseDefault("true").Trim() == "true";
 }
        public void UpdateParameterVariables(IListenerInfo listener)
        {
            listener.Params["path"] = ListenerFileHelper.DeterminePathParam(listener);
            FAutoSave = ListenerFileHelper.DetermineAutoSaveParam(listener);

            FFilePath = listener.Params["path"];
            if (string.IsNullOrWhiteSpace(FFilePath))
            {
                throw new ReflectInsightException(String.Format("Missing path parameter for listener: '{0}' using details: '{1}'.", listener.Name, listener.Details));
            }

            FCreateDirectory = true;
            FOnSize          = FAutoSave.SaveOnSize * MBYTE; // MB
            FAllowPurge      = listener.Params["allowPurge"] != "false";
        }