1
0

refactor: logs

This commit is contained in:
2024-05-23 10:19:46 +00:00
parent 8437d61df7
commit 75dd8f4a51
6 changed files with 14 additions and 14 deletions

View File

@@ -33,7 +33,7 @@ type PackCmd struct {
func (cmd *PackCmd) Run(g *Globals) (err error) {
tag := fmt.Sprintf("pack_run_%d", time.Now().Unix())
log.Print("Tag:", tag)
log.Info().Msgf("Tag: %s", tag)
files, err := os.ReadDir(g.WorkDir)
if err != nil {
@@ -65,7 +65,7 @@ func (cmd *PackCmd) Run(g *Globals) (err error) {
}
}
log.Print(f.Name())
log.Info().Msg(f.Name())
pew := PewCmd{
Max: cmd.KernelRuns,