Debian Codegraph @

/

debian golang-github-jedisct1-dlog 0.9-2debian golang-github-jedisct1-dlog-dev gomod github.com/jedisct1/dlog debiangogoinimakefilemarkdownshellyaml 17 files · 178 symbols
View dependency graph

Depends on

README (full)

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.

dir .github/
dir debian/
file .gitignore
file LICENSE
file README.md
file dlog.go
file dlog_test.go
file go.mod
file go.sum
file sysdeps_others.go
file sysdeps_windows.go