mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-15 07:29:34 +02:00
LazLogger: renamed events to On....
git-svn-id: trunk@35325 -
This commit is contained in:
parent
8eba15d1a0
commit
20f0d2d151
@ -168,8 +168,8 @@ type
|
||||
FParamForEnabledLogGroups: String;
|
||||
FUseStdOut: Boolean;
|
||||
FCloseLogFileBetweenWrites: Boolean;
|
||||
FDbgOutProc: TLazLoggerWriteEvent;
|
||||
FDebugLnProc: TLazLoggerWriteEvent;
|
||||
FOnDbgOut: TLazLoggerWriteEvent;
|
||||
FOnDebugLn: TLazLoggerWriteEvent;
|
||||
FMaxNestPrefixLen: Integer;
|
||||
FNestLvlIndent: Integer;
|
||||
|
||||
@ -238,8 +238,8 @@ type
|
||||
property EnvironmentForLogFileName: String read FEnvironmentForLogFileName write SetEnvironmentForLogFileName; // "*" will be replaced by appname
|
||||
property UseStdOut: Boolean read FUseStdOut write FUseStdOut;
|
||||
property CloseLogFileBetweenWrites: Boolean read FCloseLogFileBetweenWrites write SetCloseLogFileBetweenWrites;
|
||||
property DebugLnProc: TLazLoggerWriteEvent read FDebugLnProc write FDebugLnProc;
|
||||
property DbgOutProc: TLazLoggerWriteEvent read FDbgOutProc write FDbgOutProc;
|
||||
property OnDebugLn: TLazLoggerWriteEvent read FOnDebugLn write FOnDebugLn;
|
||||
property OnDbgOut: TLazLoggerWriteEvent read FOnDbgOut write FOnDbgOut;
|
||||
|
||||
property NestLvlIndent: Integer read FNestLvlIndent write SetNestLvlIndent;
|
||||
property MaxNestPrefixLen: Integer read FMaxNestPrefixLen write SetMaxNestPrefixLen;
|
||||
@ -1294,10 +1294,10 @@ var
|
||||
begin
|
||||
if not IsInitialized then Init;
|
||||
|
||||
if FDbgOutProc <> nil then
|
||||
if FOnDbgOut <> nil then
|
||||
begin
|
||||
Handled := False;
|
||||
FDbgOutProc(Self, s, Handled);
|
||||
FOnDbgOut(Self, s, Handled);
|
||||
if Handled then
|
||||
Exit;
|
||||
end;
|
||||
@ -1315,10 +1315,10 @@ var
|
||||
begin
|
||||
if not IsInitialized then Init;
|
||||
|
||||
if FDebugLnProc <> nil then
|
||||
if FOnDebugLn <> nil then
|
||||
begin
|
||||
Handled := False;
|
||||
FDebugLnProc(Self, s, Handled);
|
||||
FOnDebugLn(Self, s, Handled);
|
||||
if Handled then
|
||||
Exit;
|
||||
end;
|
||||
|
@ -726,8 +726,8 @@ procedure TCDWidgetSet.BackendCreate;
|
||||
begin
|
||||
// Setup DebugLn
|
||||
{$IFnDEF WithOldDebugln}
|
||||
DebugLogger.DebugLnProc := @AndroidDebugLn;
|
||||
DebugLogger.DbgOutProc := @AccumulatingDebugOut;
|
||||
DebugLogger.OnDebugLn := @AndroidDebugLn;
|
||||
DebugLogger.OnDbgOut := @AccumulatingDebugOut;
|
||||
{$ELSE}
|
||||
DebugLnProc := @AndroidDebugLn;
|
||||
DebugOutProc := @AccumulatingDebugOut;
|
||||
|
Loading…
Reference in New Issue
Block a user