Skip to content

veysel/SlackApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGet version

SlackApi.Log 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");

Sample Results

SlackApiSample

About

Slack Api Log Library For .Net Projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages