LoggingAliases.

Verbose(ICakeContext, FormattableLogAction) Method

Summary

Writes an verbose message to the log using the specified formattable string.
Namespace
Cake.Common.Diagnostics
Containing Type
LoggingAliases

Syntax

[CakeMethodAlias]
[CakeAliasCategory("Verbose")]
public static void Verbose(this ICakeContext context, FormattableLogAction formattableLogAction)

Examples

Verbose(logAction => logAction($"Hello {"World"}! Today is an {DateTime.Now:dddd}"));

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.
formattableLogAction FormattableLogAction The log action.

Return Value

Type Description
void