NpmLogLevel Class

Summary

Details the npm log levels
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["NpmLogLevel"] class Type type-node

Syntax

public sealed class NpmLogLevel : Enum

Fields

Name Constant Value Summary
Default 0
Uses log level as defined by the running Cake script.
static
Error 4
--loglevel error
static
Http 7
--loglevel http
static
Info 3
-d or --loglevel info
static
Silent 1
-s, --silent or --loglevel silent
static
Silly 6
-ddd or --loglevel silly
static
value__
Verbose 5
-dd or --loglevel verbose
static
Warn 2
-q, --quiet or --loglevel warn
static

Extension Methods

Name Value Summary
Dump<NpmLogLevel>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<NpmLogLevel>(NpmLogLevel[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<NpmLogLevel>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<NpmLogLevel>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<NpmLogLevel>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<NpmLogLevel>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin