(msg string, err error)
| 325 | } |
| 326 | |
| 327 | func (t *Task) LogWithStatus(msg string, err error) { |
| 328 | if err != nil { |
| 329 | t.Logger.Print(i18n.GetWithNameAndErr("FailedStatus", msg, err)) |
| 330 | } else { |
| 331 | t.Logger.Print(i18n.GetWithName("SuccessStatus", msg)) |
| 332 | } |
| 333 | } |
| 334 | |
| 335 | func (t *Task) Log(msg string) { |
| 336 | t.Logger.Print(msg) |
no outgoing calls
no test coverage detected