示例#1
0
        public Guid AddHeadlinedOutput(string headLine, TextOutputManager newOutputWriter, LoggingLevel newLevel = LoggingLevel.Standard, LoggingMode newMode = LoggingMode.Minimum)
        {
            Guid result = AddOutput(newOutputWriter, newLevel, newMode);

            Header(result, headLine);
            return(result);
        }
示例#2
0
        public Guid AddOutput(TextOutputManager newOutputWriter, LoggingLevel newLevel = LoggingLevel.Standard, LoggingMode newMode = LoggingMode.Minimum)
        {
            output newOutput = new output(this, Foundation.TimeStamp, newOutputWriter, newLevel, newMode);

            outputs.Add(newOutput);
            return(newOutput.Identifier);
        }
示例#3
0
            }             // EXPLICTLY FORBID USE OF THE DEFAULT CONSTRUCTOR

            public output(HtmlLogSystem parent, string title, TextOutputManager newOutputWriter, LoggingLevel newLevel, LoggingMode newMode)
            {
                OutputWebInterface.Title     = title;
                OutputWebInterface.CssStyles = parent.HtmlStyle;

                OutputWriter = newOutputWriter;
                OutputLevel  = newLevel;
                OutputMode   = newMode;

                OutputWriter.WriteLine(OutputWebInterface.HtmlHeader);
            }
        public void ToFile(string completeFilePath, bool append = true)
        {
            TextOutputManager thisOutputManager = new TextOutputManager(completeFilePath, append);

            thisOutputManager.WriteLine(LineOut(headers));

            foreach (List <T> thisData in data)
            {
                thisOutputManager.WriteLine(LineOut(thisData));
            }

            thisOutputManager.Close();
        }