remove demo game
This commit is contained in:
15
util.log.go
Normal file
15
util.log.go
Normal file
@@ -0,0 +1,15 @@
|
||||
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...)
|
||||
}
|
||||
Reference in New Issue
Block a user