ExceptionLogger Class

Summary

Exception logging extension methods for the ICakeLog.
Namespace
Cake.Cli
Base Types
  • object
graph BT Type-->Base0["object"] Type["ExceptionLogger"] class Type type-node

Syntax

public static class ExceptionLogger

Methods

Name Value Summary
LogException<T>(ICakeLog, T) int
Logs exception and returns exit code if available in exception.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin