All Projects → jonfreeland → Log4Slack

jonfreeland / Log4Slack

Licence: MIT license
Simple, asynchronous Slack log4net appender.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Log4Slack

Surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service gove…
Stars: ✭ 3,088 (+4311.43%)
Mutual labels:  log4net
log4stash
Module to Log log4net Messages to ElasticSearch
Stars: ✭ 60 (-14.29%)
Mutual labels:  log4net
Analogy.LogViewer
A customizable Log Viewer with ability to create custom providers. Can be used with C#, C++, Python, Java and others
Stars: ✭ 172 (+145.71%)
Mutual labels:  log4net

Log4Slack

Simple, asynchronous Slack log4net appender. Grab the NuGet package here.

Example Log4Slack output

<appender name="SlackAppender" type="Log4Slack.SlackAppender, Log4Slack">
	<WebhookUrl value="https://{your company}.slack.com/services/hooks/incoming-webhook?token={your token}" /> <!-- Your Slack webhook URL -->
	<Channel value="#testing" /> <!-- Your Slack channel to post to -->
	<Username value="Log4Slack" /> <!-- The username to post as -->
	<IconUrl value="{your icon url}" />
	<IconEmoji value=":ghost:" /> <!-- Include an emoji to add a little character to your message -->
	<AddAttachment value="true" /> <!-- Include an attachment on the Slack message with additional details -->
	<AddExceptionTraceField value="true" /> <!-- If an exception occurs, add its trace as a field on the message attachment -->
	<UsernameAppendLoggerName value="true"/> <!-- Append the current logger name to the Slack username -->
	<LinkNames value="false" /> <!-- Automatically link @mentions -->
	<Proxy value="http://proxy:8000"/> <!-- Use an outgoing http proxy -->
	<mapping>	<!-- Add custom colors on the attachment -->
		<level value="INFO" />
		<backColor value="SkyBlue" />
	</mapping>
</appender>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].