SlackApi.Log
Slack Api is a .net standard library that is very simple and fast to use.
Dependencies
How to use ?
Install SlackApi.Log
Install-Package SlackApi.Log
or
dotnet add package SlackApi.Log
Import Project
using SlackApi;
Slack Url Define
SlackConfig.ApiUrl = "https://hooks.slack.com/services/Txxxxxxxx/Bxxxxxxxx/Axxxxxxxxxxxxxxxxxxxxxxx";
Slack Log Send
SlackLog.Default("Content");
SlackLog.Default("Content", "Title");
SlackLog.Default("Content", "Title", "Project Name");
SlackLog.Info("Content");
SlackLog.Info("Content", "Title");
SlackLog.Info("Content", "Title", "Project Name");
SlackLog.Success("Content");
SlackLog.Success("Content", "Title");
SlackLog.Success("Content", "Title", "Project Name");
SlackLog.Warning("Content");
SlackLog.Warning("Content", "Title");
SlackLog.Warning("Content", "Title", "Project Name");
SlackLog.Danger("Content");
SlackLog.Danger("Content", "Title");
SlackLog.Danger("Content", "Title", "Project Name");