moby/daemon/logger
Cory Snider 905477c8ae logger/journald: drop errDrainDone sentinel
errDrainDone is a sentinel error which is never supposed to escape the
package. Consequently, it needs to be filtered out of returns all over
the place, adding boilerplate. Forgetting to filter out these errors
would be a logic bug which the compiler would not help us catch. Replace
it with boolean multi-valued returns as they can't be accidentally
ignored or propagated.

Signed-off-by: Cory Snider <csnider@mirantis.com>
2024-01-26 12:42:09 -05:00
..
awslogs migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
etwlogs migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
fluentd migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
gcplogs migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
gelf daemon/logger/gelf: format code with gofumpt 2023-06-29 00:31:52 +02:00
journald logger/journald: drop errDrainDone sentinel 2024-01-26 12:42:09 -05:00
jsonfilelog daemon/logger/jsonfilelog: format code with gofumpt 2023-06-29 00:31:52 +02:00
local daemon/logger/local: always use UTC for timestamps 2023-12-08 18:31:30 +01:00
loggertest daemon/logger/loggertest: expand log-follow tests 2024-01-26 11:47:02 -05:00
loggerutils migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
splunk migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
syslog daemon/logger: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
templates staticcheck: ignore "SA1019: strings.Title is deprecated" 2022-03-16 12:11:54 +01:00
adapter.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
adapter_test.go daemon/logger: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00
copier.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
copier_test.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
factory.go Improve error feedback when plugin does not implement desired interface 2020-04-21 18:06:24 -03:00
log_cache_opts.go Support configuration of log cacher. 2020-02-19 17:02:34 -05:00
logger.go daemon/logger: fix godoc 2022-11-02 18:47:50 +01:00
logger_error.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
logger_test.go Improve partial message support in logger 2018-04-11 13:26:28 -07:00
loginfo.go daemon/logger: use strings.Cut() 2022-12-21 11:09:01 +01:00
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
plugin.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
plugin_unix.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
plugin_unsupported.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
proxy.go daemon/logger: format code with gofumpt 2023-06-29 00:31:53 +02:00
ring.go Merge pull request #42291 from angelcar/awslogs-dont-log-messge-discarded-errors 2021-05-27 19:33:44 -07:00
ring_test.go daemon/logger: fix empty-lines (revive) 2022-09-28 01:58:51 +02:00