Пример #1
0
        public SimpleLogger(string Name)
        {
            _timer = new HiPerfTimer();

            _log = new StringBuilder(100);
            Log(string.Format("Logger Name: {0}", Name));
            Log(DateTime.Now.ToString());
        }
Пример #2
0
		public SimpleLogger(string Name)
		{
			_timer = new HiPerfTimer();

			_log = new StringBuilder(100);
			Log(string.Format("Logger Name: {0}", Name));
			Log(DateTime.Now.ToString());
		}
Пример #3
0
 public Logging(string strFileName)
 {
     if (strFileName != "")
     {
         strLogFileName = strFileName;
     }
     else
     {
         strLogFileName = "DefaultAppLog";
     }
     hpt = new HiPerfTimer();
 }
Пример #4
0
		public Logging(string strFileName)
		{
			if (strFileName != "")
			{
				strLogFileName = strFileName;
			}
			else
			{
				strLogFileName = "DefaultAppLog";
			}
			hpt = new HiPerfTimer();
		}