mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 07:59:48 +02:00
* Fix loglevel for ListMode
This commit is contained in:
parent
4b5c7ab0f5
commit
3eab1c1c02
@ -5438,7 +5438,7 @@ end;
|
||||
|
||||
procedure TCustomInstaller.Log(Level: TVerboseLevel; Const Msg: String);
|
||||
begin
|
||||
If Level in FLogLevels then
|
||||
If (Level in FLogLevels) or (ListMode and (level=vlCommand)) then
|
||||
begin
|
||||
Writeln(StdOut, Msg);
|
||||
Flush(StdOut);
|
||||
@ -6558,7 +6558,8 @@ begin
|
||||
EnterCriticalSection(FGeneralCriticalSection);
|
||||
try
|
||||
{$endif NO_THREADING}
|
||||
if Level in [vlInfo,vlDebug] then
|
||||
if (Level in [vlInfo,vlDebug])
|
||||
or (ListMode and (level=vlCommand)) then
|
||||
FOnLog(Level,GLogPrefix+Msg)
|
||||
else
|
||||
FOnLog(Level,Msg);
|
||||
|
Loading…
Reference in New Issue
Block a user