# Function buildDestinationRollingFile

Creates a `LogLevelStreamEntry` stream that writes to a rolling file at or above the minimum `level`

- buildDestinationRollingFile(level, options): Promise<LogLevelStreamEntry>

- #### Parameters

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

  #### Returns Promise<LogLevelStreamEntry>

  - Defined in src/destinations.ts:23