File: log.go

package info (click to toggle)
golang-github-miekg-mmark 1.3.4%2Bgit20161103.9.2d4f1dd%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 636 kB
  • ctags: 635
  • sloc: makefile: 33
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...)
}