---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../../modules.md) / [operations/mrt](../index.md) / parseMrtLogLine

# Function: parseMrtLogLine()

> **parseMrtLogLine**(`raw`): [`MrtLogEntry`](../interfaces/MrtLogEntry.md)

Defined in: [packages/b2c-tooling-sdk/src/operations/mrt/tail-logs.ts:133](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/operations/mrt/tail-logs.ts#L133)

Parses a raw MRT log line into a structured entry.

Application log format (tab-separated):
  {ISO8601}\t{UUID}\t{LEVEL}\t{message}

Platform log format:
  {LEVEL} {message}

## Parameters

### raw

`string`

The raw log line string

## Returns

[`MrtLogEntry`](../interfaces/MrtLogEntry.md)

Parsed log entry
