LogExtensions.

Write(ICakeLog, Verbosity, LogLevel, LogAction) Method

Summary

Writes a 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, LogAction logAction)

Parameters

Name Type Description
log ICakeLog The log.
verbosity Verbosity The verbosity.
level LogLevel The log level.
logAction LogAction The log action.

Return Value

Type Description
void