()
| 64 | } |
| 65 | |
| 66 | func (v *LogView) AsTableRowString() string { |
| 67 | row := v.AsTableRow() |
| 68 | return fmt.Sprintf( |
| 69 | "%-*s %-*s %-*s %-*s %-*s", |
| 70 | colWidthType, row[0], |
| 71 | colWidthDesc, row[1], |
| 72 | colWidthDate, row[2], |
| 73 | colWidthConnection, row[3], |
| 74 | colWidthClient, row[4], |
| 75 | ) |
| 76 | } |
| 77 | |
| 78 | func (v *LogView) AsTableHeaderString() string { |
| 79 | row := v.AsTableHeader() |