> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simular.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# JsLogRecord

# Interface: JsLogRecord

Defined in: [index.d.ts:1289](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1289)

A single log entry forwarded to the JS callback.

## Properties

### file?

> `optional` **file?**: `string`

Defined in: [index.d.ts:1301](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1301)

Source file path of the call site, when available.

***

### level

> **level**: `string`

Defined in: [index.d.ts:1291](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1291)

`"error"`, `"warn"`, `"info"`, `"debug"`, or `"trace"`.

***

### line?

> `optional` **line?**: `number`

Defined in: [index.d.ts:1303](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1303)

1-based line number of the call site, when available.

***

### message

> **message**: `string`

Defined in: [index.d.ts:1299](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1299)

The formatted log message.

***

### modulePath?

> `optional` **modulePath?**: `string`

Defined in: [index.d.ts:1305](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1305)

Module path of the call site, when available.

***

### target

> **target**: `string`

Defined in: [index.d.ts:1297](https://github.com/simular-ai/simulang-js-internal/blob/d2b85c3277cbb16ce50c0781e1db8ad2c8a5690e/index.d.ts#L1297)

Logger target — defaults to the emitting Rust module path
(e.g. `"simulang_rs::windows::app"`). Used by the filter spec to gate
logs per module.
