gonum.org/v1/gonum@v0.14.0/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  //go:build !debug
     6  // +build !debug
     7  
     8  package rdf
     9  
    10  type debugger bool
    11  
    12  const debug debugger = false
    13  
    14  func (d debugger) log(depth int, args ...interface{})                      {}
    15  func (d debugger) logf(depth int, format string, args ...interface{})      {}
    16  func (d debugger) logHashes(depth int, hashes map[string][]byte, size int) {}
    17  func (d debugger) logParts(depth int, parts byLengthHash)                  {}