mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-07 15:18:51 +02:00
LCL: use LazLoggerBase instead of LazLogger
git-svn-id: trunk@58078 -
This commit is contained in:
parent
ab816ccd37
commit
a172ea3030
@ -31,7 +31,7 @@ uses
|
|||||||
Gtk2Int, Gtk2Proc, Gtk2Def, Gtk2Extra, Gtk2Globals, Gtk2WSControls,
|
Gtk2Int, Gtk2Proc, Gtk2Def, Gtk2Extra, Gtk2Globals, Gtk2WSControls,
|
||||||
WSForms, WSProc,
|
WSForms, WSProc,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
LazLogger;
|
LazLoggerBase;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ var
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
MUIWSFactory, MUIWSForms, VInfo, muistdctrls, lazlogger;
|
MUIWSFactory, MUIWSForms, VInfo, muistdctrls, lazloggerbase;
|
||||||
|
|
||||||
|
|
||||||
{$I muiwinapi.inc}
|
{$I muiwinapi.inc}
|
||||||
|
@ -29,7 +29,7 @@ uses
|
|||||||
Classes, SysUtils, Math, TypInfo, Types, Laz_AVL_Tree,
|
Classes, SysUtils, Math, TypInfo, Types, Laz_AVL_Tree,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
FPCAdds, LazFileUtils, LazMethodList, LazUTF8, LazUTF8Classes,
|
FPCAdds, LazFileUtils, LazMethodList, LazUTF8, LazUTF8Classes,
|
||||||
{$IFnDEF WithOldDebugln} LazLogger, {$ENDIF}
|
{$IFnDEF WithOldDebugln} LazLoggerBase, {$ENDIF}
|
||||||
// LCL
|
// LCL
|
||||||
LCLStrConsts, LCLType;
|
LCLStrConsts, LCLType;
|
||||||
|
|
||||||
@ -1028,7 +1028,7 @@ end;
|
|||||||
|
|
||||||
procedure DumpExceptionBackTrace;
|
procedure DumpExceptionBackTrace;
|
||||||
begin
|
begin
|
||||||
LazLogger.DumpExceptionBackTrace;
|
LazLoggerBase.DumpExceptionBackTrace;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function GetStackTrace(UseCache: boolean): string;
|
function GetStackTrace(UseCache: boolean): string;
|
||||||
@ -2072,102 +2072,102 @@ end;
|
|||||||
|
|
||||||
function ConvertLineEndings(const s: string): string;
|
function ConvertLineEndings(const s: string): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.ConvertLineEndings(s);
|
Result:=LazLoggerBase.ConvertLineEndings(s);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const c: cardinal): string;
|
function DbgS(const c: cardinal): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(c);
|
Result:=LazLoggerBase.DbgS(c);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const i: longint): string;
|
function DbgS(const i: longint): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(i);
|
Result:=LazLoggerBase.DbgS(i);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const i: int64): string;
|
function DbgS(const i: int64): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(i);
|
Result:=LazLoggerBase.DbgS(i);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const q: qword): string;
|
function DbgS(const q: qword): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(q);
|
Result:=LazLoggerBase.DbgS(q);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const r: TRect): string;
|
function DbgS(const r: TRect): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(r);
|
Result:=LazLoggerBase.DbgS(r);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const p: TPoint): string;
|
function DbgS(const p: TPoint): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(p);
|
Result:=LazLoggerBase.DbgS(p);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const p: pointer): string;
|
function DbgS(const p: pointer): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(p);
|
Result:=LazLoggerBase.DbgS(p);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const e: extended; MaxDecimals: integer): string;
|
function DbgS(const e: extended; MaxDecimals: integer): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(e,MaxDecimals);
|
Result:=LazLoggerBase.DbgS(e,MaxDecimals);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const b: boolean): string;
|
function DbgS(const b: boolean): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(b);
|
Result:=LazLoggerBase.DbgS(b);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const s: TComponentState): string;
|
function DbgS(const s: TComponentState): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(s);
|
Result:=LazLoggerBase.DbgS(s);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const m: TMethod): string;
|
function DbgS(const m: TMethod): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(m);
|
Result:=LazLoggerBase.DbgS(m);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgSName(const p: TObject): string;
|
function DbgSName(const p: TObject): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgSName(p);
|
Result:=LazLoggerBase.DbgSName(p);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgSName(const p: TClass): string;
|
function DbgSName(const p: TClass): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgSName(p);
|
Result:=LazLoggerBase.DbgSName(p);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgStr(const StringWithSpecialChars: string): string;
|
function DbgStr(const StringWithSpecialChars: string): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgStr(StringWithSpecialChars);
|
Result:=LazLoggerBase.DbgStr(StringWithSpecialChars);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgWideStr(const StringWithSpecialChars: widestring): string;
|
function DbgWideStr(const StringWithSpecialChars: widestring): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgWideStr(StringWithSpecialChars);
|
Result:=LazLoggerBase.DbgWideStr(StringWithSpecialChars);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function dbgMemRange(P: PByte; Count: integer; Width: integer): string;
|
function dbgMemRange(P: PByte; Count: integer; Width: integer): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.dbgMemRange(P,Count,Width);
|
Result:=LazLoggerBase.dbgMemRange(P,Count,Width);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function dbgMemStream(MemStream: TCustomMemoryStream; Count: integer): string;
|
function dbgMemStream(MemStream: TCustomMemoryStream; Count: integer): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.dbgMemStream(MemStream,Count);
|
Result:=LazLoggerBase.dbgMemStream(MemStream,Count);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function dbgObjMem(AnObject: TObject): string;
|
function dbgObjMem(AnObject: TObject): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.dbgObjMem(AnObject);
|
Result:=LazLoggerBase.dbgObjMem(AnObject);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function dbghex(i: Int64): string;
|
function dbghex(i: Int64): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.dbghex(i);
|
Result:=LazLoggerBase.dbghex(i);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgSWindowPosFlags(Flags: UInt): String;
|
function DbgSWindowPosFlags(Flags: UInt): String;
|
||||||
@ -2209,12 +2209,12 @@ end;
|
|||||||
|
|
||||||
function DbgS(const i1, i2, i3, i4: integer): string;
|
function DbgS(const i1, i2, i3, i4: integer): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(i1,i2,i3,i4);
|
Result:=LazLoggerBase.DbgS(i1,i2,i3,i4);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const Shift: TShiftState): string;
|
function DbgS(const Shift: TShiftState): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(Shift);
|
Result:=LazLoggerBase.DbgS(Shift);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgsVKCode(c: word): string;
|
function DbgsVKCode(c: word): string;
|
||||||
@ -2396,7 +2396,7 @@ end;
|
|||||||
|
|
||||||
function DbgS(const ASize: TSize): string;
|
function DbgS(const ASize: TSize): string;
|
||||||
begin
|
begin
|
||||||
Result:=LazLogger.DbgS(ASize);
|
Result:=LazLoggerBase.DbgS(ASize);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function DbgS(const ATM: TTextMetric): string;
|
function DbgS(const ATM: TTextMetric): string;
|
||||||
|
Loading…
Reference in New Issue
Block a user