Exemplo n.º 1
0
        public void TestLogAllWindows()
        {
            var myLogger = new Stf.Utilities.StfLogger
            {
                FileName = @"c:\temp\unittestlogger_TestLogAllWindows.html",
                LogLevel = LogLevel.Internal
            };

            myLogger.LogTrace("Just before logging all windows");
            myLogger.LogAllWindows(LogLevel.Info, "Grabbed all windows");
            myLogger.LogTrace("right after logging all windows");
        }