Esempio n. 1
0
        internal static string RenderCurrentApplicationPoint(string message = "", string exceptionType = "", bool fileSystemLog = true, bool htmlOut = false)
        {
            RenderingCollection preparedResult = StackTrace.CompleteStackTraceForCurrentApplicationPoint(
                message, exceptionType, fileSystemLog, htmlOut
                );
            List <string[]> headers = new List <string[]>();

            if (Dispatcher.EnvType == EnvType.Web)
            {
                headers = HttpHeaders.CompletePossibleHttpHeaders();
            }
            preparedResult.Headers = headers;
            return(Exceptions._renderStackRecordResult(preparedResult, fileSystemLog, htmlOut));
        }