Interface LumberdashClient

An interface for logging messages. Extend it to your own desires and styling and then put it to work with putLumberdashToWork function.

Hierarchy

  • LumberdashClient

Implemented by

Methods

  • Logs an error message.

    Parameters

    • error: Error

      content of the error.

    Returns void

  • Logs a fatal message. This call is different than logError in the sense that it should be read as the last message before the program shutdown's due to a fatal error.

    Parameters

    • message: string

      content of the message as string.

    • extras: LoggingExtraParameters

      a set of additional values that may be useful for the client when logging the message.

    Returns void

  • Logs an informational message.

    Parameters

    • message: string

      content of the message as string.

    • extras: LoggingExtraParameters

      a set of additional values that may be useful for the client when logging the message.

    Returns void

  • Logs a warning message.

    Parameters

    • message: string

      content of the message as string.

    • extras: LoggingExtraParameters

      a set of additional values that may be useful for the client when logging the message.

    Returns void

Generated using TypeDoc