[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Generates a message with the optional name and class type for the specified object.
Source position: LazLoggerIntf.inc line 108
function DbgSName( |
const p: TObject |
):string; overload; |
const p: TClass |
):string; overload; |
p |
|
TObject instance examined in the routine. |
Formatted message with the optional name and class type for the specified value.
p |
|
TObject instance examined in the routine. |
DbgSName generates a log message with the optional name and class type for the object in p.
When p has not been assigned, the return value contains:
'Nil'
When p is a TComponent descendant, the return value contains a value like:
TComponent.Name + ':' + TComponent.ClassName
Otherwise, the return value is set to:
TObject.ClassName
If the LazLogger_Dummy unit has been included in the application, the return value is an empty string.
Version 4.0 | Generated 2025-05-03 | Home |