FMX.Types.Log.d
Delphi
class procedure d(const Fmt: string; const Args: array of const); overload;
class procedure d(const Msg: string); overload; inline;
class procedure d(const Tag: string; const Instance: TObject; const Method, Msg: string); overload; inline;
class procedure d(const Tag: string; const Instance: TObject; const Msg: string); overload; inline;
C++
__classmethod void __fastcall d(const System::UnicodeString Fmt, const System::TVarRec *Args, const System::NativeInt Args_High)/* overload */;
__classmethod void __fastcall d(const System::UnicodeString Msg)/* overload */;
__classmethod void __fastcall d(const System::UnicodeString Tag, System::TObject* const Instance, const System::UnicodeString Method, const System::UnicodeString Msg)/* overload */;
__classmethod void __fastcall d(const System::UnicodeString Tag, System::TObject* const Instance, const System::UnicodeString Msg)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | Log |
Description
Displays a message in the Event Log.
The following table explanation and examples for signatures of Log.d:
Description and Parameters | Code Snippet | Output |
---|---|---|
Simple debug message.
|
Delphi : Log.d('Simple Message');
C++: Log::d("Simple Message");
|
Debug Output: Simple Message Process <ProjectName>.exe() |
Formatted debug message that requires 2 parameters. The parameters have the same meaning and constraints as those of Format.
|
Delphi : Log.d('%d%% Formatted Message', [100]);
C++: TVarRec args[1] = {100};
Log::d("%d%% Formatted Message", args, 0);
|
Debug Output: 100% Formatted Message Process <ProjectName>.exe() |
Detailed debug message. |
Delphi : Log.d('MyDebugMessage', Button1, 'Button1Click', 'Detailed Debug Message');
C++: Log::d("Simple Message");
|
Debug Output: MyDebugMessage (TButton@ 344EB70).Button1Click): Detailed Debug Message <ProjectName>.exe() |