Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LogRecord

Implements

Index

Constructors

Properties

attributes: LogAttributes = {}
hrTime: HrTime
hrTimeObserved: HrTime
instrumentationScope: InstrumentationScope
resource: IResource
spanContext?: SpanContext

Accessors

  • get body(): undefined | string
  • set body(body: undefined | string): void
  • get droppedAttributesCount(): number
  • get severityText(): undefined | string
  • set severityText(severityText: undefined | string): void

Methods

  • _makeReadonly(): void
  • internal

    A LogRecordProcessor may freely modify logRecord for the duration of the OnEmit call. If logRecord is needed after OnEmit returns (i.e. for asynchronous processing) only reads are permitted.

    Returns void

  • setSeverityText(severityText: string): LogRecord

Generated using TypeDoc