Sign in Join
FPDoc Onlineexperiment

TLazLogger.DebugLn procedure

Member of TLazLoggerpublicIn unit LazLoggerBase

Writes a message to the logger class instance at the current indentation level.

Declaration

pascal
procedure DebugLn(const s: string='');  overload
procedure DebugLn(const Args: Array of const);  overload
procedure DebugLn(const S: string; const Args: Array of const)
                 ;  overload
procedure DebugLn(const s1: string; const s2: string; 
                 const s3: string=''; const s4: string=''; 
                 const s5: string=''; const s6: string=''; 
                 const s7: string=''; const s8: string=''; 
                 const s9: string=''; const s10: string=''; 
                 const s11: string=''; const s12: string=''; 
                 const s13: string=''; const s14: string=''; 
                 const s15: string=''; const s16: string=''; 
                 const s17: string=''; const s18: string='');  overload
procedure DebugLn(LogEnabled: TLazLoggerLogEnabled; const s: string='')
                 ;  overload
procedure DebugLn(LogEnabled: TLazLoggerLogEnabled; 
                 const Args: Array of const);  overload
procedure DebugLn(LogEnabled: TLazLoggerLogEnabled; const S: string; 
                 const Args: Array of const);  overload
procedure DebugLn(LogEnabled: TLazLoggerLogEnabled; const s1: string; 
                 const s2: string; const s3: string=''; 
                 const s4: string=''; const s5: string=''; 
                 const s6: string=''; const s7: string=''; 
                 const s8: string=''; const s9: string=''; 
                 const s10: string=''; const s11: string=''; 
                 const s12: string=''; const s13: string=''; 
                 const s14: string=''; const s15: string=''; 
                 const s16: string=''; const s17: string=''; 
                 const s18: string='');  overload

Arguments

s

String argument for the method.

Args

Array of constant values written in the method.

s1

String argument for the method.

s2

String argument for the method.

s3

String argument for the method.

s4

String argument for the method.

s5

String argument for the method.

s6

String argument for the method.

s7

String argument for the method.

s8

String argument for the method.

s9

String argument for the method.

s10

String argument for the method.

s11

String argument for the method.

s12

String argument for the method.

s13

String argument for the method.

s14

String argument for the method.

s15

String argument for the method.

s16

String argument for the method.

s17

String argument for the method.

s18

String argument for the method.

LogEnabled

Description

DebugLn is used to write a log message using the logger class instance. DebugLn is overloaded in TLazLogger to provide variants which accept String or Array values, a Format()-like expression, or a fixed number of String arguments.

DebugLn calls the DoDebugLn method to write the formatted string with the message for the logger class instance.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.