DocFxLogLevel Class

Summary

Acceptable log levels for DocFx.
Assembly
Cake.DocFx.dll
Namespace
Cake.DocFx
Base Types
  • Enum
graph BT Type-->Base0["Enum"] Type["DocFxLogLevel"] class Type type-node

Syntax

public sealed class DocFxLogLevel : Enum

Fields

Name Constant Value Summary
Default 0
Default log level of DocFx. Same as Info.
static
Error 4
Logs only errors.
static
Info 2
Logs errors, warnings and informational messages.
static
value__
Verbose 1
Verbose logging.
static
Warning 3
Logs errors and warnings.
static

Extension Methods

Name Value Summary
Dump<DocFxLogLevel>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DocFxLogLevel>(DocFxLogLevel[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DocFxLogLevel>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DocFxLogLevel>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DocFxLogLevel>(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<DocFxLogLevel>(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