moby--moby/daemon/logger
Kir Kolyshkin 20a0e58a79 journald/read: fix/unify errors
1. Use "in-place" variables for if statements to limit their scope to
   the respectful `if` block.

2. Report the error returned from sd_journal_* by using CErr().

3. Use errors.New() instead of fmt.Errorf().

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2019-08-02 10:02:35 -07:00
..
awslogs
etwlogs
fluentd
gcplogs
gelf
journald journald/read: fix/unify errors 2019-08-02 10:02:35 -07:00
jsonfilelog
local
logentries
loggerutils
splunk
syslog
templates
adapter.go
adapter_test.go
copier.go
copier_test.go
factory.go
logger.go
logger_test.go
loginfo.go
metrics.go
plugin.go
plugin_unix.go
plugin_unsupported.go
proxy.go
ring.go
ring_test.go