Summary
Contains settings for specifying a MSBuild file logger.
- Namespace
- Cake
.Common .Tools .MSBuild - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["MSBuildFileLogger"]
class Type type-node
Syntax
public class MSBuildFileLogger
Constructors
Name | Summary |
---|---|
MSBuildFileLogger |
Initializes a new instance of the MSBuildFileLogger class.
|
Properties
Name | Value | Summary |
---|---|---|
AppendToLogFile | bool |
Gets or sets a value indicating whether the build log is appended to the log file or overwrites it. When true, the build log is appended to the log file.
|
Encoding | string |
Gets or sets Specifies the encoding for the file (for example, UTF-8, Unicode, or ASCII).
|
Hide |
bool |
Gets or sets a value indicating whether NoItemAndPropertyList will be set to Don't show the list of items and properties that would appear at the start of each project build if the verbosity level is set to diagnostic.
|
LogFile | FilePath |
Gets or sets LogFile. The path to the log file into which the build log is written.
An empty string will use msbuild.log.
|
M |
M |
Gets or sets show ErrorsOnly, WarningsOnly, or All.
|
Performance |
bool |
Gets or sets a value indicating whether PerformanceSummary will Show the time that’s spent in tasks, targets, and projects.
|
ShowCommandLine | bool |
Gets or sets a value indicating whether ShowCommandLine. Show TaskCommandLineEvent messages.
|
ShowEventId | bool |
Gets or sets a value indicating whether ShowEventId. Show the event ID for each started event, finished event, and message.
|
ShowTimestamp | bool |
Gets or sets a value indicating whether ShowTimestamp. Show the timestamp as a prefix to any message.
|
SummaryDisabled | bool |
Gets or sets a value indicating whether Summary will Show the error and warning summary at the end.
|
Verbosity | Verbosity? |
Gets or sets Verbosity. Override the /verbosity setting for this logger.
Specify the following verbosity levels: q[uiet], m[inimal], n[ormal], v[erbose] (detailed), and diag[nostic].
|
Methods
Name | Value | Summary |
---|---|---|
GetParameters |
string |
Process the file logger config and return parameters as a string.
|
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 Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues 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
|