A11 TypeScript API - v0.7.0
    Preparing search index...

    Function logRecordFromChunk

    • Read a LogRecord back out of a log chunk.

      The inverse of what Action.log writes, so a consumer on the far end of a wire reads the metadata the same way every other language does. A missing or unknown level falls back to DEFAULT_LOG_LEVEL.

      Parameters

      • chunk: Chunk
      • actionName: string = ''
      • actionId: string = ''

      Returns LogRecord