File: log.go

package info (click to toggle)
golang-github-miekg-mmark 1.3.6%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 616 kB
  • sloc: makefile: 35
file content (14 lines) | stat: -rw-r--r-- 212 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package mmark

import "log"

func printf(p *parser, format string, v ...interface{}) {
	if test {
		return
	}
	if p != nil {
		log.Printf("mmark: "+format, v...)
		return
	}
	log.Printf("mmark: "+format, v...)
}