This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.DocFx.
Summary
Base class for all settings supporting logging.
- Assembly
- Cake
.DocFx .dll - Namespace
- Cake
.DocFx - Base Types
-
- ToolSettings
- Derived Types
graph BT
Type-->Base0["ToolSettings"]
Type["BaseDocFxLogSettings"]
class Type type-node
Derived0["DocFxPdfSettings"]-->Type
click Derived0 "/api/Cake.DocFx.Pdf/DocFxPdfSettings"
Derived1["DocFxMetadataSettings"]-->Type
click Derived1 "/api/Cake.DocFx.Metadata/DocFxMetadataSettings"
Derived2["DocFxMergeSettings"]-->Type
click Derived2 "/api/Cake.DocFx.Merge/DocFxMergeSettings"
Derived3["DocFxBuildSettings"]-->Type
click Derived3 "/api/Cake.DocFx.Build/DocFxBuildSettings"
Syntax
public abstract class BaseDocFxLogSettings : ToolSettings
Constructors
| Name | Summary |
|---|---|
| BaseDocFxLogSettings |
Properties
| Name | Value | Summary |
|---|---|---|
| CorrelationId | string |
Gets or sets the correlation id used for logging.
|
| LogLevel | DocFxLogLevel |
Gets or sets to which log level will be logged.
|
| LogPath | FilePath |
Gets or sets the path and file name where the log file generated by DocFx will be saved.
|
| RepositoryRoot | DirectoryPath |
Gets or sets the Git repository root folder.
|
| WarningsAsErrors | bool |
Gets or sets a value indicating if warnings should be treated as errors.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
