# WinstonConsoleSink

`class` in `logger/node` · v0.3.2

<https://docs.seedcord.org/packages/logger/0.3.2/winston-console-sink>

Node console sink. Pretty output for dev, JSON for prod, both through the shared winston pipeline.

```ts
class WinstonConsoleSink implements ILogSink
```

## Constructors

### constructor

```ts
WinstonConsoleSink(options?: { format?: SinkFormat })
```

Constructs a new instance of the `WinstonConsoleSink` class

## Properties

### kind

```ts
public readonly kind
```

### node

```ts
public readonly node
```

## Methods

### onLog

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