Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedisct1/dlog
A super simple logger for Go. Supports stderr, logfiles, syslog and windows event log.
https://github.com/jedisct1/dlog
go golang log logger logging
Last synced: about 2 months ago
JSON representation
A super simple logger for Go. Supports stderr, logfiles, syslog and windows event log.
- Host: GitHub
- URL: https://github.com/jedisct1/dlog
- Owner: jedisct1
- License: bsd-2-clause
- Created: 2018-01-11T09:52:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-12T09:38:11.000Z (about 2 months ago)
- Last Synced: 2024-12-12T10:29:09.975Z (about 2 months ago)
- Topics: go, golang, log, logger, logging
- Language: Go
- Homepage:
- Size: 1.2 MB
- Stars: 17
- Watchers: 4
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![](https://godoc.org/github.com/jedisct1/dlog?status.svg)](https://godoc.org/github.com/jedisct1/dlog)
# dlog
Go's standard logger is fairly limited. As result, kazilion alternatives loggers have been written.
All of these are wonderful. They can make your logs look colorful and pretty, buffer things in complicated ways, format data for ElasticSearch, and more.
Cool, but all I wanted is something super dumb, that just exposes `log.Info()`, `log.Error()` and a couple other standard levels.
I don't need a super flexible kitchen sink. Just something super basic and trivial to use. I just want it to handle different log levels, and be able to write simple logs to `stderr`, to a local file, to `syslog` and to the Windows event log.
So, here's one more logging library for Go. The dumbest of them all. Enjoy.