# ObjectConsoleSink

`class` in `logger` · v0.1.0-next.1

<https://docs.seedcord.org/packages/logger/0.1.0-next.1/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, 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
```
