Skip to content

webmayak/yii2-log-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

yii2-log-github

Provides GithubTarget component for Yii2 logging system. Creates issues from application exceptions. You should specify your GitHub repository name, owner name and your PAT (personal access token) with repo permissions enabled.

Install

composer require webmayak/yii2-log-github

Usage

'components' => [
     'log' => [
          'targets' => [
              'github' => [
                  'class' => 'webmayak\yii2LogGithub\GithubTarget',
                  'enabled' => true,
                  'except' => ['yii\web\HttpException:404', 'yii\web\HttpException:403'],
                  'levels' => ['error', 'warning'],
                  'accessToken' => '...',
                  'owner' => '...',
                  'repository' => '...',
              ],
          ],
     ],
],

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages