1.0.1 • Published 5 years ago
@evokegroup/logger-notifier-msteams v1.0.1
@evokegroup/logger-notifier-msteams
Allows a Logger (@evokegroup/logger) to send messages to a Microsoft Teams channel
Class: LoggerNotifierMSTeams
Extends: Logger.Notifier
See @evokegroup/logger
constructor(object)
Parameter | Type | Default | Description |
---|---|---|---|
logger | Logger | The associated Logger (@evokegroup/logger) | |
severity | Logger.Severity, number, string | Logger.Severity.Unknown | The maximum severity to output |
application | string | The application name. Used in the card title | |
header | string | A header message to render to the card first | |
webhook | string | The channel webhook URL |
Methods
notify()
Sends the queued messages to the channel.