@nebius/js-sdk - v0.2.54
    Preparing search index...

    Type Alias FormatFunction

    FormatFunction: (
        opts: {
            args?: string;
            level: Level;
            message: string;
            name: string;
            time: Date;
            trace?: string;
        },
    ) => string

    Formats the complete data for one text log record.

    Type Declaration

      • (
            opts: {
                args?: string;
                level: Level;
                message: string;
                name: string;
                time: Date;
                trace?: string;
            },
        ): string
      • Formats the complete data for one text log record.

        Parameters

        • opts: {
              args?: string;
              level: Level;
              message: string;
              name: string;
              time: Date;
              trace?: string;
          }
          • Optionalargs?: string

            Contains the args.

          • level: Level

            Contains the level.

          • message: string

            Contains the message.

          • name: string

            Contains the name.

          • time: Date

            Contains the time.

          • Optionaltrace?: string

            Contains the trace.

        Returns string