ServiceMessageLog.

ServiceMessageLog(IConsole, Func<string, bool>, Verbosity) Constructor

Summary

Initializes a new instance of the ServiceMessageLog class.
Assembly
Cake.Module.Shared.dll
Namespace
Cake.Module.Shared
Containing Type
ServiceMessageLog

Syntax

public ServiceMessageLog(IConsole console, Func<string, bool> match, Verbosity verbosity = 2)

Parameters

Name Type Description
console IConsole The IConsole implementation to log to.
match Func<string, bool> Predicate to check whether a token should be colorized.
verbosity Verbosity Initial verbosity.

Return Value

Type Description
void