An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/meowgorithm/babylogger

Package babylogger is a simple HTTP logging middleware. It works with any multiplexer compatible with the Go standard library. When a terminal is present it will log using nice colors. When the output is not in a terminal (for example in logs) ANSI escape sequences (read: colors) will be stripped from the output. Also note that for accurate response time logging Babylogger should be the first middleware called. Windows support is not currently implemented, however it would be trivial enough with the help of a couple packages from Mattn: http://github.com/mattn/go-isatty and https://github.com/mattn/go-colorable Example using the standard library: Example with Goji:

Ecosystem
proxy.golang.org
Latest Release
v1.2.1
almost 3 years ago
Versions
7
Dependent Packages
6
Dependent Repos
8
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/meowgorithm/babylogger
spec
License MIT
Namespace github.com/meowgorithm
First Release over 7 years ago
Last Synced 24 days ago
Repository
Stars 11 on GitHub
Forks 0 on GitHub
Docker Dependents 2
Docker Downloads 17
Rankings on proxy.golang.org
Overall Top 6.9%
Dependent packages Top 2.2%
Dependent repos Top 1.8%
Docker downloads Top 1.9%