ServiceMessageLog Class

Summary

Writes the log, colorized.
Assembly
Cake.Module.Shared.dll
Namespace
Cake.Module.Shared
Interfaces
  • ICakeLog
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["ICakeLog"] Type["ServiceMessageLog"] class Type type-node Derived0["TravisCILog"]-->Type click Derived0 "/api/Cake.TravisCI.Module/TravisCILog"

Syntax

public abstract class ServiceMessageLog : ICakeLog

Constructors

Name Summary
ServiceMessageLog(IConsole, Func<string, bool>, Verbosity) Initializes a new instance of the ServiceMessageLog class.
ServiceMessageLog(IConsole, Regex, Verbosity) Initializes a new instance of the ServiceMessageLog class.

Properties

Name Value Summary
Verbosity Verbosity

Methods

Extension Methods

Name Value Summary
Dump<ServiceMessageLog>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<ServiceMessageLog>(ServiceMessageLog[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<ServiceMessageLog>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<ServiceMessageLog>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<ServiceMessageLog>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<ServiceMessageLog>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin