xlerr / sentry-ewechat
Installs: 1 738
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/xlerr/sentry-ewechat
This package has no released version yet, and little information is available.
README
enterprise wechat
install
composer require xlerr/sentry-ewechat
config
[
"log" => [
'targets' => [
[
'class' => \xlerr\sentry\ewechat\Target::class,
'levels' => ['error', 'warning'],
// 'config' => null, // default value, is disabled.
// 'config' => function () {
// return \kvmanager\models\KeyValue::getValueAsArray('sentry_ewechat_config');
// // or
// return [];
// },
'config' => [
'host' => 'http://api.myhost.com',
'chatId' => 'chatId',
// 'enabled' => true,
// 'categories' => [],
// 'except' => [],
// 'logVars' => [],
// 'msgMaxLength' => 0,
// 'exceptMatchMsg' => [],
// 'system' => "[DEPOSIT]\n",
],
],
],
],
]