LogExtensions.

Write(ICakeLog, Verbosity, LogLevel, FormattableLogAction) Method

Summary

Writes a formattable string message to the log using the specified verbosity, log level and log action delegate. Evaluates log message only if the verbosity is equal to or more verbose than the log's verbosity.
Namespace
Cake.Core.Diagnostics
Containing Type
LogExtensions

Syntax

public static void Write(this ICakeLog log, Verbosity verbosity, LogLevel level, FormattableLogAction formattableLogAction)

Parameters

Name Type Description
log ICakeLog The log.
verbosity Verbosity The verbosity.
level LogLevel The log level.
formattableLogAction FormattableLogAction The log action.

Return Value

Type Description
void