中文 | English
Notify
This document is lengthy and has no English translation yet.
The section outline below mirrors the Chinese source document; see notify.md for the original.
- 模块概述
- 调试日志
- debug(message, meta?) / debug(message, meta?)
- 信息日志
- info(message, meta?) / info(message, meta?)
- 警告日志
- warn(message, meta?) / warn(message, meta?)
- 错误日志
- error(message, meta?) / error(message, meta?)
- Toast 通知
- toast(title, message, level?) / toast(title, message, level?)
- Webhook 通知
- webhook(url, payload, options?) / webhook(url, payload, options?)
- 事件桥接
- bridge(event_name, target, options?) / bridge(eventName, target, options?)
- 系统托盘
- trayShow() / trayShow()
- trayHide() / trayHide()
- traySetBadge(text?) / traySetBadge(text?)
- traySetTooltip(text?) / traySetTooltip(text?)
- 可用接口