dnscrypt-proxy/vendor/github.com/jedisct1/dlog
Frank Denis 1bbc7e9540 Update dlog to master which just calls time.Local()
maybe
fixes #57
2018-01-31 10:14:06 +01:00
..
.gitignore
Gopkg.lock Update dlog; now with support for the Windows Event Log 2018-01-19 19:33:25 +01:00
Gopkg.toml
LICENSE
README.md up 2018-01-19 19:48:01 +01:00
dlog.go Update dlog to master which just calls time.Local() 2018-01-31 10:14:06 +01:00
dlog_test.go Update dlog; now with support for the Windows Event Log 2018-01-19 19:33:25 +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

README.md

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.