Constructors

Accessors

  • get botSdkLogger(): ILogger
  • Logging implementation which can be provided to a bot-sdk LogService instance to pipe logs through this component. Note: This is done automatically for the matrix-appservice-bridge's instance of the bot-sdk, but if you use the bot-sdk directly in your bridge you should use the example code below

    Returns ILogger

    Example

    import { LogService } from "matrix-bot-sdk";
    Logger.configure({...})
    LogService.setLogger(Logger.logServiceLogger);

Methods

Generated using TypeDoc