@grow-codes/datadog-logs - v0.1.1
    Preparing search index...

    Function serializeEntry

    • Serializes an entry so it is at most maxBytes (DECISIONS 7). An oversized entry gets its message cut at a character boundary and grow.truncated: true. Returns undefined when even an empty message does not fit (the metadata alone is too large).

      Parameters

      Returns { bytes: number; json: string; truncated: boolean } | undefined