# `Grizzly.Trace.Record`
[🔗](https://github.com/smartrent/grizzly/blob/v9.1.4/lib/grizzly/trace/record.ex#L1)

Data structure for a single item in the trace log

# `opt`

```elixir
@type opt() ::
  {:src, Grizzly.Trace.src()}
  | {:dest, Grizzly.Trace.dest()}
  | {:timestamp, Time.t()}
```

# `t`

```elixir
@type t() :: %Grizzly.Trace.Record{
  binary: binary(),
  dest: Grizzly.Trace.dest() | nil,
  src: Grizzly.Trace.src() | nil,
  timestamp: Time.t()
}
```

# `new`

```elixir
@spec new(Grizzly.Trace.src(), Grizzly.Trace.dest(), binary(), Time.t()) :: t()
```

Make a new `Grizzly.Record.t()` from a binary

# `remote_node`

Returns the remote node in the trace record, i.e., the node that is not :grizzly.

# `to_string`

```elixir
@spec to_string(t(), Grizzly.Trace.format(), keyword()) :: String.t()
```

Turn a record into the string format

---

*Consult [api-reference.md](api-reference.md) for complete listing*
