<!-- Public documentation export; not library implementation source. -->
# PineLogEvent

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## version {#version}

```ts
version: 1;
```

Use the type signature above and the integration guide for the owning capability.

## sequence {#sequence}

```ts
sequence: number;
```

Use the type signature above and the integration guide for the owning capability.

## logEpoch {#logepoch}

```ts
logEpoch: string;
```

Use the type signature above and the integration guide for the owning capability.

## level {#level}

```ts
level: "info" | "warning" | "error";
```

Use the type signature above and the integration guide for the owning capability.

## message {#message}

```ts
message: string;
```

Use the type signature above and the integration guide for the owning capability.

## truncated {#truncated}

```ts
truncated?: boolean;
```

Use the type signature above and the integration guide for the owning capability.

## barIndex {#barindex}

```ts
barIndex: number;
```

Use the type signature above and the integration guide for the owning capability.

## barOpenTimeMs {#baropentimems}

```ts
barOpenTimeMs: number;
```

Use the type signature above and the integration guide for the owning capability.

## emittedAtMs {#emittedatms}

```ts
emittedAtMs: number;
```

Use the type signature above and the integration guide for the owning capability.

## phase {#phase}

```ts
phase: "historical" | "realtime";
```

Use the type signature above and the integration guide for the owning capability.

## context {#context}

```ts
context: { kind: "root" | "request"; requestId?: string };
```

Use the type signature above and the integration guide for the owning capability.

## callSite {#callsite}

```ts
callSite: {
    line: number;
    column?: number;
    endLine: number;
    endColumn?: number;
    source?: { kind: "root" | "library"; identity?: string };
  };
```

Use the type signature above and the integration guide for the owning capability.

---
Documentation page: https://docs.lumencharts.com/charting-library/api/PineLogEvent
