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

TLazLoggerFile.ParamForLogFileName

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

Declaration

Source position: lazlogger.pas line 177

public property TLazLoggerFile.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.


Version 4.0 Generated 2025-05-03 Home