From 47dd1cb7ae8591b4c63b68371cc1922c0aa5f98e Mon Sep 17 00:00:00 2001 From: zeripath Date: Sat, 31 Oct 2020 05:36:46 +0000 Subject: Refactor Logger (#13294) Refactor Logger to make a logger interface and make it possible to wrap loggers for specific purposes. Co-authored-by: techknowlogick --- modules/indexer/code/elastic_search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/indexer/code/elastic_search.go') diff --git a/modules/indexer/code/elastic_search.go b/modules/indexer/code/elastic_search.go index 08b20b80a0..0f61c4e592 100644 --- a/modules/indexer/code/elastic_search.go +++ b/modules/indexer/code/elastic_search.go @@ -40,7 +40,7 @@ type ElasticSearchIndexer struct { } type elasticLogger struct { - *log.Logger + log.Logger } func (l elasticLogger) Printf(format string, args ...interface{}) { -- cgit v1.2.3