Sign in Join
FPDoc Onlineexperiment

TLazLoggerFile.ParamForLogFileName property

Member of TLazLoggerFilepublicIn unit LazLogger

Name of the command line parameter that has the log file name for the class instance.

Declaration

pascal
property ParamForLogFileName: string read FParamForLogFileName write SetParamForLogFileName;

Description

ParamForLogFileName is a command line parameter that may contain the name for the log file (if not already set). For example: --debug-log=/path/to/filename.ext.

If LogName is empty and ParamForLogFileName has been assigned, the command line will be checked for a parameter with the specified name. LogName will be set to the file name in the parameter, if found. The default value for the property is '--debug-log='. Please note that the dashes and equal sign must be present.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.