16 lines
191 B
Go
16 lines
191 B
Go
package pncdsl
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
var DebugLog = false
|
|
|
|
func logf(format string, args ...any) {
|
|
if !DebugLog {
|
|
return
|
|
}
|
|
fmt.Fprintf(os.Stderr, "[pncdsl] "+format+"\n", args...)
|
|
}
|