# Function buildDestinationStream

Creates a `LogLevelStreamEntry` stream that writes to a `NodeJs.WriteableStream` or Sonic Boom `DestinationStream` at or above the minimum `level`

#### See

DestinationStream

- buildDestinationStream(level, options): LogLevelStreamEntry

- #### Parameters

  - level:
    | "silent"
    | "fatal"
    | "error"
    | "warn"
    | "info"
    | "log"
    | "verbose"
    | "debug"
    | "trace"
  - options: StreamDestination

  #### Returns LogLevelStreamEntry

  - Defined in src/destinations.ts:112