Skip to content

BuildRecordDiagnostic

One entry of a recorded build’s log: the same fields, under the same names, as the CompilationLogEntry the build returned.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
textstringThe message, at most 2,000 characters (a longer one is cut and diagnosticsTruncated set).
datedatetimeWhen the message was written, in UTC.
logLevelCompilationLogLevelHow serious the message is.
filenamestring | nullThe file the message is about; null when it is about the build as a whole.
lineNumberinteger | nullThe line in the file the message is about, when known.
characterinteger | nullThe character in the line the message is about, when known.
{
"text": "...",
"date": "2026-10-26T12:00:00.0000000Z",
"logLevel": "Debug",
"filename": "...",
"lineNumber": 0,
"character": 0
}