/*
goredo -- djb's redo implementation on pure Go
-Copyright (C) 2020-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2020-2022 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
CWarn string
CJS string
CReset string
- CNone string = "NONE"
+ CNone = "NONE"
flagDebug = flag.Bool("d", false, fmt.Sprintf("enable debug logging (%s=1)", EnvDebug))
flagNoProgress *bool
return s + KeyEraseLine + end
}
-func trace(level, format string, args ...interface{}) {
+func tracef(level, format string, args ...interface{}) {
var p string
if MyPid != 0 {
p = fmt.Sprintf("[%d] ", MyPid)