public void add(string message, logType t, verbosity v, int eventId = 0) { if (v >= threshold_) { addImpl(message, t, eventId); } }
//------------------------------------------------- public DbgMsg(string tag, string msg, verbosity verbLevel) { m_tag = tag; m_msg = msg; m_date = System.DateTime.Now; m_lvl = verbLevel; }
public winLogger(string log, string source, verbosity threshold = verbosity.low) : base(threshold) { if (!EventLog.SourceExists(source)) { EventLog.CreateEventSource(source, log); } log_ = log; source_ = source; }
public consoleLogger(verbosity threshold = verbosity.low) : base(threshold) { m_ = new Mutex(); }
public logger(verbosity threshold = verbosity.low) { threshold_ = threshold; }
return(BuildProjects( target: target, output: output, verbosity: verbosity, files: new[] { ("scenario.csproj", projectContent) }.Concat(files).ToArray()));