github.com/developest/gtm-enhanced@v1.0.4-0.20220111132249-cc80a3372c3f/util/debug_off.go (about)

     1  // +build !debug
     2  
     3  // Copyright 2016 Michael Schenk. All rights reserved.
     4  // Use of this source code is governed by a MIT-style
     5  // license that can be found in the LICENSE file.
     6  
     7  package util
     8  
     9  import (
    10  	"io/ioutil"
    11  	"log"
    12  )
    13  
    14  // Debug is no-op implementation of the debug logger
    15  var Debug = log.New(ioutil.Discard, "", log.LstdFlags)