mirror of
https://github.com/semaphoreui/semaphore.git
synced 2025-01-21 07:49:34 +01:00
15 lines
221 B
Go
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)
|
|
}
|