Semaphore/lib/Logger.go

15 lines
221 B
Go
Raw Normal View History

package lib
import (
2023-09-12 19:40:22 +02:00
"github.com/ansible-semaphore/semaphore/db"
"os/exec"
"time"
)
type Logger interface {
Log(msg string)
Log2(msg string, now time.Time)
LogCmd(cmd *exec.Cmd)
2023-09-12 19:40:22 +02:00
SetStatus(status db.TaskStatus)
}