[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazLoggerBase' (#lazutils)

DbgS

Generates a formatted debugger message with the value(s) for the specified type(s).

Declaration

Source position: LazLoggerIntf.inc line 91

function DbgS(

  const c: Cardinal

):string; overload;

function DbgS(

  const i: LongInt

):string; overload;

function DbgS(

  const i: Int64

):string; overload;

function DbgS(

  const q: QWord

):string; overload;

function DbgS(

  const r: TRect

):string; overload;

function DbgS(

  const p: TPoint

):string; overload;

function DbgS(

  const p: pointer

):string; overload;

function DbgS(

  const e: extended;

  MaxDecimals: Integer = 999

):string; overload;

function DbgS(

  const b: Boolean

):string; overload;

function DbgS(

  const m: TMethod

):string; overload;

function DbgS(

  const ASize: TSize

):string; overload;

function DbgS(

  const s: TComponentState

):string; overload;

function DbgS(

  const i1: Integer;

  const i2: Integer;

  const i3: Integer;

  const i4: Integer

):string; overload;

function DbgS(

  const Shift: TShiftStateEnum

):string; overload;

function DbgS(

  const Shift: TShiftState

):string; overload;

Arguments

c

  

Cardinal value for the message.

Function result

String with the formatted content for the specified value(s).

Arguments

i

  

Integer (LongInt, Int64) value for the message.

Arguments

i

  

Integer (LongInt, Int64) value for the message.

Arguments

q

  

QWord value for the message.

Arguments

r

  

TRect value for the message.

Arguments

p

  

Untyped pointer value for the message.

Arguments

p

  

Untyped pointer value for the message.

Arguments

e

  

Extended value for the message.

MaxDecimals

  

Number of decimal places for the Extended value in the message.

Arguments

b

  

Boolean value for the message.

Arguments

m

  

TMethod value for the message.

Arguments

ASize

  

TSize instance with the cx and cy values for the message.

Arguments

s

  

String value for the message.

Arguments

i1

  

Integer value for the message.

i2

  

Integer value for the message.

i3

  

Integer value for the message.

i4

  

Integer value for the message.

Arguments

Shift

  

TShiftStateEnum value for the message.

Arguments

Shift

  

TShiftStateEnum value for the message.

Description

DbgS is used to implement the ArgsToString method in TLazLogger.

See also

TLazLogger.ArgsToString

  

Converts the specified array of values to a string which can be displayed using the output methods for the logger type.


Version 4.0 Generated 2025-05-03 Home