PowershellSettingsExtensions.

SetLogOutput(PowershellSettings, bool) Method

Summary

Sets a value indicating whether the output of an application is written to the cake console

Syntax

public static PowershellSettings SetLogOutput(this PowershellSettings settings, bool log = true)

Parameters

Name Type Description
settings PowershellSettings The powershell settings.
log bool true if output should be written to the cake console; otherwise, false. The default is false.

Return Value

Type Description
PowershellSettings The same PowershellSettings instance so that multiple calls can be chained.