An open API service indexing awesome lists of open source software.

https://github.com/hakkasuru/slog

Slack Logger in Go
https://github.com/hakkasuru/slog

golang logger logging slack slack-webhook slog

Last synced: 5 months ago
JSON representation

Slack Logger in Go

Awesome Lists containing this project

README

          

# Slog
Simple Go Slack Logger

# Installation
```shell
go get -u github.com/hakkasuru/slog
```

# Quick Start
```go
config := slog.NewConfig(
"",
"ExampleApplication",
"",
)
logger := slog.NewSlackLogger(config)
logger.Info(fmt.Sprintf("API returned http status %d", 500))
```
![demo example](.docs/images/quickstart-demo.png)