Skip to content

vohinc/laravel-google-logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Google Logging Handler

Laravel google logging handler

Requirement

  • Laravel 5.8 or above
  • Logging Admin Role in Google Cloud Platform IAM

Install

composer require vohinc/laravel-google-logging

Config

Add a new driver to your logging.php

'google-logging' => [
    'driver' => 'custom',
    'via' => \Voh\LaravelGoogleLogging\LoggingDriver::class,
    'level' => 'debug',
    'projectId' => 'your-google-project-id',
    'keyFilePath' => 'google-credential-file-path,
    'logName' => 'application-log',
    'labels' => [
        'application' => 'my-application',
    ],
],

About

Laravel google logging handler

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages