> ## 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

> A single log entry forwarded to the JS callback.

## Properties

<ResponseField name={"file"} type={"string"}>
  Source file path of the call site, when available.
</ResponseField>

<ResponseField name={"level"} type={"string"} required>
  `"error"`, `"warn"`, `"info"`, `"debug"`, or `"trace"`.
</ResponseField>

<ResponseField name={"line"} type={"number"}>
  1-based line number of the call site, when available.
</ResponseField>

<ResponseField name={"message"} type={"string"} required>
  The formatted log message.
</ResponseField>

<ResponseField name={"modulePath"} type={"string"}>
  Module path of the call site, when available.
</ResponseField>

<ResponseField name={"target"} type={"string"} required>
  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.
</ResponseField>
