Skip to content

Commit

Permalink
ensure TSynLog.Enter won't write unexpected line feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Bouchez committed Jan 23, 2020
1 parent 8883448 commit 106571c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SynLog.pas
Expand Up @@ -4737,7 +4737,7 @@ procedure TSynLog.AddRecursion(aIndex: integer; aLevel: TSynLogInfo);
fWriter.AddInstancePointer(Instance,'.',fFamily.WithUnitName,fFamily.WithInstancePointer);
if MethodName<>nil then begin
if MethodNameLocal<>mnLeave then begin
fWriter.AddNoJSONEscape(MethodName);
fWriter.AddOnSameLine(MethodName);
case MethodNameLocal of
mnEnter:
MethodNameLocal := mnLeave;
Expand Down
2 changes: 1 addition & 1 deletion SynopseCommit.inc
@@ -1 +1 @@
'1.18.5587'
'1.18.5588'

0 comments on commit 106571c

Please sign in to comment.