# ObjectConsoleSink

`class` in `logger` · v0.4.4

<https://seedcord.org/docs/packages/logger/0.4.4/classes/object-console-sink>

The edge default sink. Emits one structured object to the severity-matched `console` method so
a Workers drain indexes each field. Trailing object args merge into top-level fields, and an
Error arg serializes to `{ name, message, stack }`. The message and error strings are ANSI-stripped
(the output is machine-read), and every value passes through `filterCirculars` so a BigInt
or circular reference never throws.

```ts
class ObjectConsoleSink implements ILogSink
```

## Properties

### kind

```ts
public readonly kind
```

## Methods

### onLog

```ts
public onLog(record: LogRecord): void
```
