Show also ID of log entry
This commit is contained in:
parent
9175305cb9
commit
5ed23ee2b0
8
log.go
8
log.go
@ -21,13 +21,13 @@ func logLogEntry(l logEntry) {
|
|||||||
|
|
||||||
colored := ""
|
colored := ""
|
||||||
if l.Type == config.KernelExploit {
|
if l.Type == config.KernelExploit {
|
||||||
colored = aurora.Sprintf("[%s] %40s %40s: %s %s",
|
colored = aurora.Sprintf("[%8d] [%s] %40s %40s: %s %s",
|
||||||
l.Timestamp, artifactInfo, distroInfo,
|
l.ID, l.Timestamp, artifactInfo, distroInfo,
|
||||||
genOkFail("BUILD", l.Build.Ok),
|
genOkFail("BUILD", l.Build.Ok),
|
||||||
genOkFail("LPE", l.Test.Ok))
|
genOkFail("LPE", l.Test.Ok))
|
||||||
} else {
|
} else {
|
||||||
colored = aurora.Sprintf("[%s] %40s %40s: %s %s %s",
|
colored = aurora.Sprintf("[%8d] [%s] %40s %40s: %s %s %s",
|
||||||
l.Timestamp, artifactInfo, distroInfo,
|
l.ID, l.Timestamp, artifactInfo, distroInfo,
|
||||||
genOkFail("BUILD", l.Build.Ok),
|
genOkFail("BUILD", l.Build.Ok),
|
||||||
genOkFail("INSMOD", l.Run.Ok),
|
genOkFail("INSMOD", l.Run.Ok),
|
||||||
genOkFail("TEST", l.Test.Ok))
|
genOkFail("TEST", l.Test.Ok))
|
||||||
|
Loading…
Reference in New Issue
Block a user