From 2ba108890dee067d4c12db4ed81b7ec06126fe16 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Wed, 25 Apr 2018 19:32:42 +0100 Subject: [PATCH] clog --- example.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example.go b/example.go index bf94caa..1675181 100644 --- a/example.go +++ b/example.go @@ -10,12 +10,14 @@ import ( "github.com/coredns/coredns/plugin" "github.com/coredns/coredns/plugin/metrics" - "github.com/coredns/coredns/plugin/pkg/log" + clog "github.com/coredns/coredns/plugin/pkg/log" "github.com/miekg/dns" "golang.org/x/net/context" ) +var log = clog.NewWithPlugin("example") + // Example is an example plugin to show how to write a plugin. type Example struct { Next plugin.Handler