# Function buildLogger

Builds a Logger object for use in your application

`defaultLevel` must the minimum level ANY stream can log from IE it should be the lowest level any of your streams will possibly log. Recommended to always use `debug`.

#### See

Logger

- buildLogger(defaultLevel, streams, extras?): Logger

- #### Parameters

  - defaultLevel:
    | "silent"
    | "fatal"
    | "error"
    | "warn"
    | "info"
    | "log"
    | "verbose"
    | "debug"
    | "trace"
  - streams: LogLevelStreamEntry[]
  - extras: PinoLoggerOptions = {}

  #### Returns Logger

  - Defined in src/loggers.ts:22