(s string, maxLen int)
| 453 | } |
| 454 | |
| 455 | func truncateForLog(s string, maxLen int) string { |
| 456 | if len(s) <= maxLen { |
| 457 | return s |
| 458 | } |
| 459 | return s[:maxLen] + "..." |
| 460 | } |
| 461 | |
| 462 | // showStatus logs the memory worker status. |
| 463 | func (mw *memoryWorker) showStatus(msg string) { |
no outgoing calls
no test coverage detected