File: debug.go

package info (click to toggle)
golang-github-cenk-rpc2 0.0~git20240915.0.ff2a9be-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 132 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
package rpc2

import "log"

// DebugLog controls the printing of internal and I/O errors.
var DebugLog = false

func debugln(v ...interface{}) {
	if DebugLog {
		log.Println(v...)
	}
}