File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1420,6 +1420,10 @@ function GetLastExceptionText: RawUtf8;
1420
1420
procedure GetLastExceptions (out result: TSynLogExceptionInfoDynArray;
1421
1421
Depth: integer = 0 ); overload;
1422
1422
1423
+ var
1424
+ // / a run-time alternative to the NOEXCEPTIONINTERCEPT global conditional
1425
+ SynLogNoExceptionIntercept: boolean;
1426
+
1423
1427
{ $endif NOEXCEPTIONINTERCEPT}
1424
1428
1425
1429
@@ -3997,6 +4001,8 @@ procedure TSynLogFamily.SetLevel(aLevel: TSynLogLevels);
3997
4001
include(aLevel, sllEnter);
3998
4002
fLevel := aLevel;
3999
4003
{ $ifndef NOEXCEPTIONINTERCEPT}
4004
+ if SynLogNoExceptionIntercept then
4005
+ exit;
4000
4006
// intercept exceptions, if necessary
4001
4007
fHandleExceptions := (sllExceptionOS in aLevel) or
4002
4008
(sllException in aLevel);
Original file line number Diff line number Diff line change 1
- '2.3.10850 '
1
+ '2.3.10851 '
You can’t perform that action at this time.
0 commit comments