moby--moby/daemon/logger
Brian Goff ebcb7d6b40 Remove string checking in API error handling
Use strongly typed errors to set HTTP status codes.
Error interfaces are defined in the api/errors package and errors
returned from controllers are checked against these interfaces.

Errors can be wraeped in a pkg/errors.Causer, as long as somewhere in the
line of causes one of the interfaces is implemented. The special error
interfaces take precedence over Causer, meaning if both Causer and one
of the new error interfaces are implemented, the Causer is not
traversed.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-08-15 16:01:11 -04:00
..
awslogs Move pkg/templates away 2017-08-08 18:16:41 +02:00
etwlogs Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
fluentd Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
gcplogs Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
gelf Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
journald Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
jsonfilelog Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
logentries Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
loggerutils Move pkg/templates away 2017-08-08 18:16:41 +02:00
splunk Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
syslog Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
templates Move pkg/templates away 2017-08-08 18:16:41 +02:00
adapter.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
adapter_test.go * standardize timeouts for log reads and writes for logger adapter tests 2017-06-18 18:47:45 -07:00
copier.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
copier_test.go
factory.go
logger.go Remove string checking in API error handling 2017-08-15 16:01:11 -04:00
logger_test.go Avoid using a map for log attributes 2017-07-18 19:01:20 -07:00
loginfo.go
plugin.go Logging driver should receive same file in start/stop request 2017-06-08 10:05:52 +02:00
plugin_unix.go
plugin_unsupported.go
proxy.go
ring.go Update logrus to v1.0.1 2017-07-31 13:16:46 -07:00
ring_test.go