github.com/gopherd/gonum@v0.0.4/graph/formats/rdf/nodebug.go (about)

     1  // Copyright ©2020 The Gonum Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // +build !debug
     6  
     7  package rdf
     8  
     9  type debugger bool
    10  
    11  const debug debugger = false
    12  
    13  func (d debugger) log(depth int, args ...interface{})                      {}
    14  func (d debugger) logf(depth int, format string, args ...interface{})      {}
    15  func (d debugger) logHashes(depth int, hashes map[string][]byte, size int) {}
    16  func (d debugger) logParts(depth int, parts byLengthHash)                  {}