# Function prettyOptsFileFactory

Generate pino-pretty `PrettyOptions` for use with file output

#### Source

    const prettyOptsFileFactory = (opts: PrettyOptionsExtra = {}): PrettyOptions => prettyOptsFactory({...opts, ...PRETTY_OPTS_FILE_DEFAULTS})

- prettyOptsFileFactory(opts?): PrettyOptions

- #### Parameters

  - opts: PrettyOptionsExtra = {}

  #### Returns PrettyOptions

  - Defined in src/pretty.ts:130