Gjsify LogoGjsify Logo

Hierarchy

  • LoggerPrinter

Callable

  • The prototype for a custom printing callback.

    level indicates what kind of information is being printed. Eg, it will be %SOUP_LOGGER_LOG_HEADERS if data is header data.

    direction is either '<', '>', or ' ', and data is the single line to print; the printer is expected to add a terminating newline.

    To get the effect of the default printer, you would do:

    printf ("%c %s\n", direction, data);

    Parameters

    • logger: Soup.Logger

      the #SoupLogger

    • level: Soup.LoggerLogLevel

      the level of the information being printed.

    • direction: number

      a single-character prefix to data

    • data: string

      data to print

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method