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
- Host: GitHub
- URL: https://github.com/hakkasuru/slog
- Owner: hakkasuru
- License: mit
- Created: 2022-08-03T13:07:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T10:56:42.000Z (about 3 years ago)
- Last Synced: 2024-06-21T11:47:16.075Z (about 2 years ago)
- Topics: golang, logger, logging, slack, slack-webhook, slog
- Language: Go
- Homepage: https://pkg.go.dev/github.com/hakkasuru/slog
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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))
```
