LogExtensions.

WithVerbosity(ICakeLog, Verbosity) Method

Summary

Sets the log verbosity as specified and returns a disposable that restores the log verbosity on dispose.
Namespace
Cake.Core.Diagnostics
Containing Type
LogExtensions

Syntax

public static IDisposable WithVerbosity(this ICakeLog log, Verbosity verbosity)

Parameters

Name Type Description
log ICakeLog The log.
verbosity Verbosity The verbosity.

Return Value

Type Description
IDisposable A disposable that restores the log verbosity.