Summary
Writes an warning message to the log using the specified string value.
- Namespace
- Cake
.Common .Diagnostics - Containing Type
- LoggingAliases
Syntax
[CakeMethodAlias]
[CakeAliasCategory("Warning")]
public static void Warning(this ICakeContext context, string value)
Examples
Warning("{string}");
Attributes
Type | Description |
---|---|
Cake |
An attribute used to mark script method aliases. |
Cake |
An attribute used for documentation of alias methods/properties. |
Parameters
Name | Type | Description |
---|---|---|
context | ICakeContext | the context. |
value | string | The value. |
Return Value
Type | Description |
---|---|
void |