public ATCLogger(string workingDir)
        {
            rootWorkingDir = workingDir;
            logDir         = Path.Combine(workingDir, "logs");
            startTime      = DateTime.Now;

            Inst = this;
        }
Exemplo n.º 2
0
        public ATCTaskProxy(string title, string logcat)
        {
            _title  = title;
            Rootcat = logcat;
            Subcat  = null;

            ATCLogger.AddListener(Rootcat, this);
        }
Exemplo n.º 3
0
        public ATCTaskProxy(string title, string rootcat, Guid guid)
        {
            _title  = title;
            Rootcat = rootcat;
            Subcat  = guid.ToString("N");

            ATCLogger.AddListener(Rootcat + "::" + Subcat, this);
        }
Exemplo n.º 4
0
		protected ATCModule(ATCLogger l, SettingsModule s, string wd, string m)
		{
			logger = l;
			SettingsBase = s;
			Modulename = m;
			WorkingDirectory = Path.Combine(wd, Modulename);
			Directory.CreateDirectory(WorkingDirectory);
			StartTime = DateTime.Now;
		}
Exemplo n.º 5
0
 public void RegisterRoot()
 {
     ATCLogger.AddListener(string.Empty, this);
 }