function compile(format: string): FormatFn;

  declare interface StreamOptions {
    /**
     * Output stream for writing log lines
     */
    write: (str: string) => void;
  }
Compile a format string in token notation into a format function