diff options
author | 2018-04-18 21:02:01 +0100 | |
---|---|---|
committer | 2018-04-18 21:02:01 +0100 | |
commit | b4b65fbc188551d7fd6222026f57c0efb7d53855 (patch) | |
tree | 9e2322d2e577d137c406de319f65f9dff850db47 /plugin/kubernetes/apiproxy.go | |
parent | 51e1442bd97f6d51eccb5b18e36cfffd8e61bc1e (diff) | |
download | coredns-b4b65fbc188551d7fd6222026f57c0efb7d53855.tar.gz coredns-b4b65fbc188551d7fd6222026f57c0efb7d53855.tar.zst coredns-b4b65fbc188551d7fd6222026f57c0efb7d53855.zip |
pkg/log: ability for debug logs (#1689)
* pkg/log: ability for debug logs
When the debug plugin is enabled all log.Debug calls will print to
standard; if not there are a noop (almost).
The log package wraps some standard log functions as well, so just
replacing "log" with "plugin/pkg/log" should be enough to use this
package.
* docs
* Add docs
* lint
* Test fallthrough to log pkg as well
* simple package - up test coverage
* add other log levels as well
* update docs
Diffstat (limited to 'plugin/kubernetes/apiproxy.go')
0 files changed, 0 insertions, 0 deletions