1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2024-12-10 22:25:49 +01:00
dnscrypt-proxy/vendor/github.com/jedisct1/dlog
2019-09-09 18:45:42 +02:00
..
.gitignore
.travis.yml Update deps 2018-05-19 01:50:26 +02:00
dlog.go Update deps 2018-06-06 16:10:10 +02:00
go.mod Manually pin dependency revisions 2019-09-09 18:45:42 +02:00
go.sum Manually pin dependency revisions 2019-09-09 18:45:42 +02:00
LICENSE
README.md up 2018-01-19 19:48:01 +01:00
sysdeps_others.go Update dlog; now with support for the Windows Event Log 2018-01-19 19:33:25 +01:00
sysdeps_windows.go Update dlog 2018-01-19 20:54:32 +01:00

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.