(c *Config, msg string, a ...interface{})
| 25 | } |
| 26 | |
| 27 | func logError(c *Config, msg string, a ...interface{}) { |
| 28 | if c.LogColor { |
| 29 | logMsg(defaultLogFormat, msg, a...) |
| 30 | } else { |
| 31 | logMsg(errorColor+defaultLogFormat+clearColor, msg, a...) |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | func logStatus(c *Config, msg string, a ...interface{}) { |
| 36 | format := c.LogFormat |
no test coverage detected