Exemple #1
0
        public SimpleLogger(string Name)
        {
            _timer = new HiPerfTimer();

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

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