(err error)
| 367 | } |
| 368 | |
| 369 | func (sLog *smartIDELogStruct) ImportanceWithError(err error) { |
| 370 | if err == nil { |
| 371 | return |
| 372 | } |
| 373 | if _, ok := err.(*exec.ExitError); !ok { |
| 374 | sLog.Importance(err.Error()) |
| 375 | } |
| 376 | |
| 377 | } |
| 378 | |
| 379 | // 一些重要的信息,已warning的形式输出到控制台 |
| 380 | func (sLog *smartIDELogStruct) Importance(infos ...string) { |
no test coverage detected