Пример #1
0
        public static LoggingManager LogSciendoPerformance()
        {
            LoggingManager result;

            result = new LoggingManager()
            {
                _CallerDetails = GetCallerDetails().ToString(),
                Log            = SciendoPerformanceLog
            };

            SciendoPerformanceLog.Info(() => string.Format("{0} - Started", result._CallerDetails));

            return(result);
        }
Пример #2
0
        public static LoggingManager LogSciendoPerformance(object info)
        {
            LoggingManager result;

            result = new LoggingManager()
            {
                _CallerDetails        = GetCallerDetails().ToString(),
                _performanceExtraInfo = info,
                Log = SciendoPerformanceLog
            };

            SciendoPerformanceLog.Info(() => string.Format("{0} ({1})- Started", result._CallerDetails, result._performanceExtraInfo));

            return(result);
        }