# CompilationLogEntry

One message from a build, with where in the project it came from when it is about a file.

**Kind:** an object, used in responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `text` | `string` | The message, in English. |
| `date` | `datetime` | When the message was written, in UTC. Set by Maitento. |
| `logLevel` | [`CompilationLogLevel`](https://docs.maitento.com/reference/types/compilation-log-level.md) | How serious the message is. Any `Error` fails the build. |
| `filename` | `string \| null` | The file the message is about; null when it is about the build as a whole. |
| `lineNumber` | `integer \| null` | The line in the file the message is about, when known. |
| `character` | `integer \| null` | The character in the line the message is about, when known. |

## Example

```json
{
  "text": "...",
  "date": "2026-10-26T12:00:00.0000000Z",
  "logLevel": "Debug",
  "filename": "...",
  "lineNumber": 0,
  "character": 0
}
```

## Where it's used

- Inside [`BuildResponse`](https://docs.maitento.com/reference/types/build-response.md)
