diff options
Diffstat (limited to 'modules/indexer/issues/elastic_search.go')
-rw-r--r-- | modules/indexer/issues/elastic_search.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/indexer/issues/elastic_search.go b/modules/indexer/issues/elastic_search.go index 1f9c59965c..4cdeff53dc 100644 --- a/modules/indexer/issues/elastic_search.go +++ b/modules/indexer/issues/elastic_search.go @@ -27,11 +27,11 @@ type ElasticSearchIndexer struct { } type elasticLogger struct { - *log.Logger + log.LevelLogger } func (l elasticLogger) Printf(format string, args ...interface{}) { - _ = l.Logger.Log(2, l.Logger.GetLevel(), format, args...) + _ = l.Log(2, l.GetLevel(), format, args...) } // NewElasticSearchIndexer creates a new elasticsearch indexer |