Summary
Writes a debug message to the log using the specified value.
- Namespace
- Cake
.Common .Diagnostics - Containing Type
- LoggingAliases
Syntax
[CakeMethodAlias]
[CakeAliasCategory("Debug")]
public static void Debug(this ICakeContext context, object value)
Examples
Debug(new {FirstName = "John", LastName="Doe"});
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 | object | The value. |
Return Value
Type | Description |
---|---|
void |