LogRecord
LogRecord =
object
Defined in: packages/app-logger/src/log-record.ts:14
One log message, carried as the data of a ReportEvent<LogRecord>.
timestamp and the enclosing scope live on the envelope (ReportEvent), not
here. error is raw and unformatted — formatting it into text is a
Formatter’s job, not the logger’s, so a JSON sink can still emit it
as structured data.
Properties
Section titled “Properties”attributes?
Section titled “attributes?”
optionalattributes?:Attributes
Defined in: packages/app-logger/src/log-record.ts:18
error?
Section titled “error?”
optionalerror?:unknown
Defined in: packages/app-logger/src/log-record.ts:17
level:
LogLevel
Defined in: packages/app-logger/src/log-record.ts:15
message
Section titled “message”message:
string
Defined in: packages/app-logger/src/log-record.ts:16
stackTrace?
Section titled “stackTrace?”
optionalstackTrace?:StackTrace|null
Defined in: packages/app-logger/src/log-record.ts:19