Default ChatLogger implementation for ChatRoom. That passes log messages to the console object.

Hierarchy

  • ConsoleLogger

Implements

Constructors

Methods

Constructors

Methods

  • Logging function used for 'debug' level messages.

    Parameters

    • message: string

      Message to log

    • Rest ...args: unknown[]

      Variable list of arguments to be passed to the logger

    Returns void

  • Logging function used for 'error' level messages.

    Parameters

    • message: string

      Message to log

    • Rest ...args: unknown[]

      Variable list of arguments to be passed to the logger

    Returns void

  • Logging function used for 'info' level messages.

    Parameters

    • message: string

      Message to log

    • Rest ...args: unknown[]

      Variable list of arguments to be passed to the logger

    Returns void

Generated using TypeDoc