Example #1
0
 public void add(string message, logType t, verbosity v, int eventId = 0)
 {
     if (v >= threshold_)
     {
         addImpl(message, t, eventId);
     }
 }
Example #2
0
 //-------------------------------------------------
 public DbgMsg(string tag, string msg, verbosity verbLevel)
 {
     m_tag = tag;
     m_msg = msg;
     m_date = System.DateTime.Now;
     m_lvl  = verbLevel;
 }
Example #3
0
        public winLogger(string log, string source, verbosity threshold = verbosity.low) : base(threshold)
        {
            if (!EventLog.SourceExists(source))
            {
                EventLog.CreateEventSource(source, log);
            }

            log_    = log;
            source_ = source;
        }
Example #4
0
 public consoleLogger(verbosity threshold = verbosity.low) : base(threshold)
 {
     m_ = new Mutex();
 }
Example #5
0
 public logger(verbosity threshold = verbosity.low)
 {
     threshold_ = threshold;
 }
Example #6
0
 return(BuildProjects(
            target: target,
            output: output,
            verbosity: verbosity,
            files: new[] { ("scenario.csproj", projectContent) }.Concat(files).ToArray()));