1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-08 23:10:05 +00:00

feat(log): use improved log for SAS run time only

This commit is contained in:
Yury Shkoda
2023-04-11 14:18:42 +03:00
parent 3a887dec55
commit 7b12591595
5 changed files with 134 additions and 86 deletions

View File

@@ -15,7 +15,7 @@ export const parseErrorsAndWarnings = (log: string) => {
errorLines.push(line)
logLines[index] =
`<font id="error_${errorLines.length - 1}">` +
`<font id="error_${errorLines.length - 1}" style="color: red;">` +
logLines[index] +
'</font>'
}
@@ -31,7 +31,7 @@ export const parseErrorsAndWarnings = (log: string) => {
warningLines.push(line)
logLines[index] =
`<font id="warning_${warningLines.length - 1}">` +
`<font id="warning_${warningLines.length - 1}" style="color: green;">` +
logLines[index] +
'</font>'
}