输出到控制台,在一行
(args ...interface{})
| 352 | |
| 353 | // 输出到控制台,在一行 |
| 354 | func (sLog *smartIDELogStruct) ConsoleInLine(args ...interface{}) { |
| 355 | |
| 356 | if len(args) <= 0 { |
| 357 | return |
| 358 | } |
| 359 | strs := []string{} |
| 360 | for _, item := range args { |
| 361 | strs = append(strs, fmt.Sprint(item)) |
| 362 | } |
| 363 | strs = entryptionKeys(strs) // 加密 |
| 364 | |
| 365 | fmt.Printf("\r%v\r", strs) |
| 366 | sugarLogger.Info(strs) |
| 367 | } |
| 368 | |
| 369 | func (sLog *smartIDELogStruct) ImportanceWithError(err error) { |
| 370 | if err == nil { |
nothing calls this directly
no test coverage detected