Semaphore/lib/Logger.go
2023-09-12 19:40:22 +02:00

15 lines
221 B
Go

package lib
import (
"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)
SetStatus(status db.TaskStatus)
}