Commit graph

4 commits

Author SHA1 Message Date
Kenfe-Mickael Laventure
aa5ff88bbc Integrate NATS with event subsystem
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-12 14:54:47 -08:00
Stephen J Day
aa4a1f851d
log: remove crusty context, replace with shiny
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-11-30 17:40:26 -08:00
Stephen J Day
5288d8f9fe log: improve module-oriented logging
To improve the output of module logging, we now include a path that
represents the modules that a context has passed through. This makes it
easy to tell if a log line came from a particular module hierarchy.

A helper function, `WithModule`, provides an easy way to mark a context
with a module and inject that module into the logger.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-08-02 16:41:49 -07:00
Stephen J Day
b8e1fa2e15 log: provide simple context logging
We consolidate simple context logging for use across packages. For now,
one still needs logrus, but we can take this further and avoid the
import at a later time.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-03-10 20:00:17 -08:00