17 lines
235 B
Go
17 lines
235 B
Go
package log
|
|
|
|
import (
|
|
"fmt"
|
|
"git-roast/internal/config"
|
|
)
|
|
|
|
func Printf(format string, a ...any) {
|
|
_, _ = fmt.Printf(format, a...)
|
|
}
|
|
|
|
func Debugf(format string, a ...any) {
|
|
if config.Verbose {
|
|
_, _ = fmt.Printf(format, a...)
|
|
}
|
|
}
|