NpmSettingsExtensions.

WithLogLevel(NpmSettings, NpmLogLevel) Method

Summary

Sets the log level which should be used to run the npm command.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmSettingsExtensions

Syntax

public static NpmSettings WithLogLevel(this NpmSettings settings, NpmLogLevel logLevel)

Parameters

Name Type Description
settings NpmSettings The settings.
logLevel NpmLogLevel Log level which should be used to run the npm command.

Return Value

Type Description
NpmSettings The settings instance with LogLevel set to logLevel.