Type Alias Logger

Logger: (
    message: string,
    params: { [param: string]: string },
    type: "parse" | "lex",
) => void

A callback that receives log messages during parser.

Type declaration

    • (
          message: string,
          params: { [param: string]: string },
          type: "parse" | "lex",
      ): void
    • Parameters

      • message: string

        The log message

      • params: { [param: string]: string }

        Parameters associated with the log message

      • type: "parse" | "lex"

        The type of log message

      Returns void