You've already forked sap-jenkins-library
mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-09-16 09:26:22 +02:00
[ABAP] Add type to log output (#5310)
This commit is contained in:
@@ -179,11 +179,11 @@ func printLogProtocolEntries(logEntry LogResultsV2, logProtocols []LogProtocol)
|
||||
})
|
||||
if logEntry.Status == `Error` {
|
||||
for _, entry := range logProtocols {
|
||||
log.Entry().Info(entry.Description)
|
||||
log.Entry().Infof("%s %s", entry.Type, entry.Description)
|
||||
}
|
||||
} else {
|
||||
for _, entry := range logProtocols {
|
||||
log.Entry().Debug(entry.Description)
|
||||
log.Entry().Debugf("%s %s", entry.Type, entry.Description)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user