LoggingAliases.

Information(ICakeContext, object) Method

Summary

Writes an informational message to the log using the specified value.
Namespace
Cake.Common.Diagnostics
Containing Type
LoggingAliases

Syntax

[CakeMethodAlias]
[CakeAliasCategory("Information")]
public static void Information(this ICakeContext context, object value)

Examples

Information(new {FirstName = "John", LastName="Doe"});

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.
CakeAliasCategoryAttribute 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